Hello community,
here is the log from the commit of package gtk2
checked in at Tue Jul 10 18:22:29 CEST 2007.
--------
--- GNOME/gtk2/gtk2.changes 2007-05-04 15:53:21.000000000 +0200
+++ /mounts/work_src_done/STABLE/gtk2/gtk2.changes 2007-07-05 20:35:14.817508000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 5 20:34:18 CEST 2007 - maw@suse.de
+
+- Update to version 2.11.5:
+- New APIs, many bugfixes, and improved translations.
+
+-------------------------------------------------------------------
Old:
----
gtk+-2.10.11.tar.bz2
New:
----
gtk+-2.11.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gtk2.spec ++++++
--- /var/tmp/diff_new_pack.AZ2591/_old 2007-07-10 18:15:17.000000000 +0200
+++ /var/tmp/diff_new_pack.AZ2591/_new 2007-07-10 18:15:17.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gtk2 (Version 2.10.11)
+# spec file for package gtk2 (Version 2.11.5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -23,13 +23,13 @@
BuildRequires: openssl-devel
%endif
URL: http://www.gtk.org/
-License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
+License: LGPL v2 or later
Group: System/Libraries
Autoreqprov: on
PreReq: /usr/bin/touch /bin/rm /bin/rmdir
-Version: 2.10.11
-Release: 7
-Summary: Library for Creation of Graphical User Interfaces
+Version: 2.11.5
+Release: 1
+Summary: Library for Creation of Graphical User Interfaces (version 2)
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2
Source1: SuSEconfig.gtk2
Source2: README.SuSE
@@ -59,9 +59,17 @@
%description
This fast and versatile library is used all over the world for all
-GNOME applications, the GIMP, and several others. Originally it was
-written for the GIMP and hence has the name GIMP ToolKit. Many people
-like it because it is small, efficient, and very configurable.
+libgnome (GNOME) applications, gimp (The GIMP), and several others.
+Originally, version 1 was written for the GIMP and hence has the name
+GIMP ToolKit. Many people like it because it is small, efficient, and
+very configurable.
+
+Most applications which used gtk (GTK1) have since switched to GTK2.
+Besides a more flexible API, it provides improved text rendering using
+pango (Pango) and many other goodies, but GTK+ 2 lacks compatibility
+with GTK1, so to switch, programmers have to port applications to it.
+
+To develop applications with gtk, you need the package gtk2-devel.
@@ -90,13 +98,20 @@
Owen Taylor
%package devel
-Summary: Include Files and Libraries mandatory for Development.
+Summary: Development environment for the Gtk2 GUI library
Group: Development/Libraries/X11
Autoreqprov: on
Requires: %{name} = %{version} atk-devel cairo-devel glibc-devel glib2-devel pango-devel %(rpm -q --whatprovides XFree86-devel --queryformat '%{NAME}')
%description devel
-This fast and versatile library is used all over the world for all
+This package contains all necessary include files, libraries,
+configuration files and development tools needed to compile and link
+applications using the gtk2 library.
+
+In addition, it contains a large set of demo applications in source
+code and manual pages for the provided Gtk2 development tools.
+
+Gtk2 is a fast and versatile library is used all over the world for all
GNOME applications, the GIMP, and several other applications.
Originally it was written for the GIMP and hence has the name Gimp
ToolKit. Many people like it because it is small, efficient, and very
@@ -305,6 +320,7 @@
%doc AUTHORS COPYING README NEWS ChangeLog
%endif
%{_bindir}/*query*
+%{_bindir}/gtk-builder-convert
%{_bindir}/gtk-update-icon-cache
%{_datadir}/themes/*
%{_libdir}/lib*.so.*
@@ -324,6 +340,7 @@
%ghost %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
%endif
%{_sysconfdir}/gtk-2.0/gtkrc
+%{_sysconfdir}/gtk-2.0/im-multipress.conf
/etc/profile.d/*
/sbin/conf.d/SuSEconfig.gtk2
@@ -347,6 +364,9 @@
%{_datadir}/gtk-doc/html/*
%changelog
+* Thu Jul 05 2007 - maw@suse.de
+- Update to version 2.11.5:
+- New APIs, many bugfixes, and improved translations.
* Fri May 04 2007 - pgajdos@suse.cz
- adding hicolor-icon-theme to Requires [#249043]
* Thu Apr 19 2007 - sbrabec@suse.cz
++++++ gtk+-2.10.11.tar.bz2 -> gtk+-2.11.5.tar.bz2 ++++++
GNOME/gtk2/gtk+-2.10.11.tar.bz2 /mounts/work_src_done/STABLE/gtk2/gtk+-2.11.5.tar.bz2 differ: byte 11, line 1
++++++ gtk2-set-invisible-char-to-circle.patch ++++++
--- /var/tmp/diff_new_pack.AZ2591/_old 2007-07-10 18:15:21.000000000 +0200
+++ /var/tmp/diff_new_pack.AZ2591/_new 2007-07-10 18:15:21.000000000 +0200
@@ -1,6 +1,8 @@
---- gtk+-2.10.1/gtk/gtkentry.c
-+++ gtk+-2.10.1/gtk/gtkentry.c
-@@ -524,7 +524,7 @@
+Index: gtk+-2.11.5/gtk/gtkentry.c
+===================================================================
+--- gtk+-2.11.5.orig/gtk/gtkentry.c
++++ gtk+-2.11.5/gtk/gtkentry.c
+@@ -537,7 +537,7 @@ gtk_entry_class_init (GtkEntryClass *cla
g_param_spec_unichar ("invisible-char",
P_("Invisible character"),
P_("The character to use when masking entry contents (in \"password mode\")"),
@@ -9,7 +11,7 @@
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
-@@ -1062,7 +1062,7 @@
+@@ -1101,7 +1101,7 @@ gtk_entry_init (GtkEntry *entry)
entry->editable = TRUE;
entry->visible = TRUE;
@@ -18,16 +20,16 @@
entry->dnd_position = -1;
entry->width_chars = -1;
entry->is_cell_renderer = FALSE;
-@@ -4231,9 +4231,9 @@
+@@ -4550,9 +4550,9 @@ gtk_entry_get_visibility (GtkEntry *entr
* gtk_entry_set_visibility() has been called to set text visibility
* to %FALSE. i.e. this is the character used in "password mode" to
* show the user how many characters have been typed. The default
- * invisible char is an asterisk ('*'). If you set the invisible char
- * to 0, then the user will get no feedback at all; there will be
- * no text on the screen as they type.
-+ * invisible char is a bullet (Unicode character 25CF; see also 2022). If
-+ * you set the invisible char to 0, then the user will get no feedback at
-+ * all; there will be no text on the screen as they type.
- *
++ * invisible char is an bullet (Unicode character 25CF; see also 2022).
++ * If you set the invisible char to 0, then the user will get no
++ * feedback at all; there will be no text on the screen as they type.
**/
void
+ gtk_entry_set_invisible_char (GtkEntry *entry,
++++++ gtk+-strict-aliasing.patch ++++++
--- /var/tmp/diff_new_pack.AZ2591/_old 2007-07-10 18:15:21.000000000 +0200
+++ /var/tmp/diff_new_pack.AZ2591/_new 2007-07-10 18:15:21.000000000 +0200
@@ -1,7 +1,7 @@
-Index: gtk+-2.8.4/demos/gtk-demo/changedisplay.c
+Index: gtk+-2.11.5/demos/gtk-demo/changedisplay.c
===================================================================
---- gtk+-2.8.4.orig/demos/gtk-demo/changedisplay.c
-+++ gtk+-2.8.4/demos/gtk-demo/changedisplay.c
+--- gtk+-2.11.5.orig/demos/gtk-demo/changedisplay.c
++++ gtk+-2.11.5/demos/gtk-demo/changedisplay.c
@@ -73,7 +73,7 @@ static GtkWidget *
find_toplevel_at_pointer (GdkDisplay *display)
{
@@ -20,10 +20,10 @@
return widget ? gtk_widget_get_toplevel (widget) : NULL;
}
-Index: gtk+-2.8.4/demos/gtk-demo/textview.c
+Index: gtk+-2.11.5/demos/gtk-demo/textview.c
===================================================================
---- gtk+-2.8.4.orig/demos/gtk-demo/textview.c
-+++ gtk+-2.8.4/demos/gtk-demo/textview.c
+--- gtk+-2.11.5.orig/demos/gtk-demo/textview.c
++++ gtk+-2.11.5/demos/gtk-demo/textview.c
@@ -548,7 +548,7 @@ static void
easter_egg_callback (GtkWidget *button,
gpointer data)
@@ -42,10 +42,10 @@
gtk_window_set_default_size (GTK_WINDOW (window), 300, 400);
-Index: gtk+-2.8.4/gdk-pixbuf/queryloaders.c
+Index: gtk+-2.11.5/gdk-pixbuf/queryloaders.c
===================================================================
---- gtk+-2.8.4.orig/gdk-pixbuf/queryloaders.c
-+++ gtk+-2.8.4/gdk-pixbuf/queryloaders.c
+--- gtk+-2.11.5.orig/gdk-pixbuf/queryloaders.c
++++ gtk+-2.11.5/gdk-pixbuf/queryloaders.c
@@ -153,6 +153,7 @@ query_module (const char *dir, const cha
GModule *module;
void (*fill_info) (GdkPixbufFormat *info);
@@ -75,11 +75,11 @@
(*fill_info) (info);
(*fill_vtable) (vtable);
-Index: gtk+-2.8.4/gdk/x11/gdkdnd-x11.c
+Index: gtk+-2.11.5/gdk/x11/gdkdnd-x11.c
===================================================================
---- gtk+-2.8.4.orig/gdk/x11/gdkdnd-x11.c
-+++ gtk+-2.8.4/gdk/x11/gdkdnd-x11.c
-@@ -915,6 +915,7 @@ motif_read_target_table (GdkDisplay *dis
+--- gtk+-2.11.5.orig/gdk/x11/gdkdnd-x11.c
++++ gtk+-2.11.5/gdk/x11/gdkdnd-x11.c
+@@ -905,6 +905,7 @@ motif_read_target_table (GdkDisplay *dis
{
guchar *data;
MotifTargetTableHeader *header = NULL;
@@ -87,7 +87,7 @@
guchar *target_bytes = NULL;
guchar *p;
gboolean success = FALSE;
-@@ -1269,6 +1270,7 @@ motif_check_dest (GdkDisplay *display,
+@@ -1259,6 +1260,7 @@ motif_check_dest (GdkDisplay *display,
gboolean retval = FALSE;
guchar *data;
MotifDragReceiverInfo *info;
@@ -95,7 +95,7 @@
Atom type = None;
int format;
unsigned long nitems, after;
-@@ -1468,6 +1470,7 @@ motif_read_initiator_info (GdkDisplay *d
+@@ -1461,6 +1463,7 @@ motif_read_initiator_info (GdkDisplay *d
gulong bytes_after;
guchar *data;
MotifDragInitiatorInfo *initiator_info;
@@ -103,7 +103,7 @@
GdkDisplayX11 *display_x11 = GDK_DISPLAY_X11 (display);
-@@ -2402,7 +2405,9 @@ xdnd_check_dest (GdkDisplay *display,
+@@ -2395,7 +2398,9 @@ xdnd_check_dest (GdkDisplay *display,
unsigned long nitems, after;
guchar *data;
Atom *version;
@@ -113,11 +113,11 @@
Window proxy;
Atom xdnd_proxy_atom = gdk_x11_get_xatom_by_name_for_display (display, "XdndProxy");
Atom xdnd_aware_atom = gdk_x11_get_xatom_by_name_for_display (display, "XdndAware");
-Index: gtk+-2.8.4/gdk/x11/gdkevents-x11.c
+Index: gtk+-2.11.5/gdk/x11/gdkevents-x11.c
===================================================================
---- gtk+-2.8.4.orig/gdk/x11/gdkevents-x11.c
-+++ gtk+-2.8.4/gdk/x11/gdkevents-x11.c
-@@ -496,6 +496,7 @@ gdk_check_wm_state_changed (GdkWindow *w
+--- gtk+-2.11.5.orig/gdk/x11/gdkevents-x11.c
++++ gtk+-2.11.5/gdk/x11/gdkevents-x11.c
+@@ -514,6 +514,7 @@ gdk_check_wm_state_changed (GdkWindow *w
gulong bytes_after;
guchar *data;
Atom *atoms = NULL;
@@ -125,7 +125,7 @@
gulong i;
gboolean had_sticky = toplevel->have_sticky;
-@@ -2540,6 +2541,7 @@ fetch_net_wm_check_window (GdkScreen *sc
+@@ -2598,6 +2599,7 @@ fetch_net_wm_check_window (GdkScreen *sc
gulong bytes_after;
guchar *data;
Window *xwindow;
@@ -133,11 +133,11 @@
/* This function is very slow on every call if you are not running a
* spec-supporting WM. For now not optimized, because it isn't in
-Index: gtk+-2.8.4/gdk/x11/gdkim-x11.c
+Index: gtk+-2.11.5/gdk/x11/gdkim-x11.c
===================================================================
---- gtk+-2.8.4.orig/gdk/x11/gdkim-x11.c
-+++ gtk+-2.8.4/gdk/x11/gdkim-x11.c
-@@ -134,6 +134,7 @@ find_a_display (void)
+--- gtk+-2.11.5.orig/gdk/x11/gdkim-x11.c
++++ gtk+-2.11.5/gdk/x11/gdkim-x11.c
+@@ -130,6 +130,7 @@ find_a_display (void)
gchar *
gdk_wcstombs (const GdkWChar *src)
{
@@ -145,11 +145,11 @@
gchar *mbstr;
if (gdk_use_mb)
-Index: gtk+-2.8.4/gdk/x11/gdkwindow-x11.c
+Index: gtk+-2.11.5/gdk/x11/gdkwindow-x11.c
===================================================================
---- gtk+-2.8.4.orig/gdk/x11/gdkwindow-x11.c
-+++ gtk+-2.8.4/gdk/x11/gdkwindow-x11.c
-@@ -4729,6 +4729,7 @@ gdk_window_set_mwm_hints (GdkWindow *win
+--- gtk+-2.11.5.orig/gdk/x11/gdkwindow-x11.c
++++ gtk+-2.11.5/gdk/x11/gdkwindow-x11.c
+@@ -5046,6 +5046,7 @@ gdk_window_set_mwm_hints (GdkWindow *win
Atom hints_atom = None;
guchar *data;
MotifWmHints *hints;
@@ -157,11 +157,11 @@
Atom type;
gint format;
gulong nitems;
-Index: gtk+-2.8.4/gtk/gtkmain.c
+Index: gtk+-2.11.5/gtk/gtkmain.c
===================================================================
---- gtk+-2.8.4.orig/gtk/gtkmain.c
-+++ gtk+-2.8.4/gtk/gtkmain.c
-@@ -1156,7 +1156,8 @@ static GdkEvent *
+--- gtk+-2.11.5.orig/gtk/gtkmain.c
++++ gtk+-2.11.5/gtk/gtkmain.c
+@@ -1329,7 +1329,8 @@ static GdkEvent *
rewrite_event_for_grabs (GdkEvent *event)
{
GdkWindow *grab_window;
@@ -171,7 +171,7 @@
gboolean owner_events;
GdkDisplay *display;
-@@ -2040,12 +2041,12 @@ gtk_get_current_event_state (GdkModifier
+@@ -2197,12 +2198,12 @@ gtk_get_current_event_state (GdkModifier
GtkWidget*
gtk_get_event_widget (GdkEvent *event)
{
@@ -186,11 +186,11 @@
return widget;
}
-Index: gtk+-2.8.4/gtk/gtkmodules.c
+Index: gtk+-2.11.5/gtk/gtkmodules.c
===================================================================
---- gtk+-2.8.4.orig/gtk/gtkmodules.c
-+++ gtk+-2.8.4/gtk/gtkmodules.c
-@@ -252,7 +252,7 @@ static GSList *
+--- gtk+-2.11.5.orig/gtk/gtkmodules.c
++++ gtk+-2.11.5/gtk/gtkmodules.c
+@@ -254,7 +254,7 @@ static GSList *
load_module (GSList *module_list,
const gchar *name)
{
@@ -199,7 +199,7 @@
GtkModuleInfo *info = NULL;
GModule *module = NULL;
GSList *l;
-@@ -278,7 +278,7 @@ load_module (GSList *module_list,
+@@ -280,7 +280,7 @@ load_module (GSList *module_list,
if (module)
{
@@ -208,11 +208,11 @@
!modinit_func)
g_module_close (module);
else
-Index: gtk+-2.8.4/gtk/gtkselection.c
+Index: gtk+-2.11.5/gtk/gtkselection.c
===================================================================
---- gtk+-2.8.4.orig/gtk/gtkselection.c
-+++ gtk+-2.8.4/gtk/gtkselection.c
-@@ -945,7 +945,7 @@ gtk_selection_convert (GtkWidget *widget
+--- gtk+-2.11.5.orig/gtk/gtkselection.c
++++ gtk+-2.11.5/gtk/gtkselection.c
+@@ -1055,7 +1055,7 @@ gtk_selection_convert (GtkWidget *widget
if (owner_window != NULL)
{
@@ -221,7 +221,7 @@
GtkSelectionData selection_data;
selection_data.selection = selection;
-@@ -954,7 +954,7 @@ gtk_selection_convert (GtkWidget *widget
+@@ -1064,7 +1064,7 @@ gtk_selection_convert (GtkWidget *widget
selection_data.length = -1;
selection_data.display = display;
@@ -230,11 +230,11 @@
if (owner_widget != NULL)
{
-Index: gtk+-2.8.4/gtk/gtktipsquery.c
+Index: gtk+-2.11.5/gtk/gtktipsquery.c
===================================================================
---- gtk+-2.8.4.orig/gtk/gtktipsquery.c
-+++ gtk+-2.8.4/gtk/gtktipsquery.c
-@@ -444,7 +444,7 @@ gtk_tips_query_event (GtkWidget *
+--- gtk+-2.11.5.orig/gtk/gtktipsquery.c
++++ gtk+-2.11.5/gtk/gtktipsquery.c
+@@ -445,7 +445,7 @@ gtk_tips_query_event (GtkWidget *
GdkEvent *event)
{
GtkTipsQuery *tips_query;
@@ -243,7 +243,7 @@
gboolean event_handled;
g_return_val_if_fail (GTK_IS_TIPS_QUERY (widget), FALSE);
-@@ -467,12 +467,12 @@ gtk_tips_query_event (GtkWidget *
+@@ -468,12 +468,12 @@ gtk_tips_query_event (GtkWidget *
case GDK_LEAVE_NOTIFY:
if (event_widget)
@@ -258,11 +258,11 @@
gtk_tips_query_emit_widget_entered (tips_query, event_widget);
event_handled = TRUE;
break;
-Index: gtk+-2.8.4/gtk/gtkwidget.c
+Index: gtk+-2.11.5/gtk/gtkwidget.c
===================================================================
---- gtk+-2.8.4.orig/gtk/gtkwidget.c
-+++ gtk+-2.8.4/gtk/gtkwidget.c
-@@ -3819,12 +3819,12 @@ gtk_widget_reparent_subwindows (GtkWidge
+--- gtk+-2.11.5.orig/gtk/gtkwidget.c
++++ gtk+-2.11.5/gtk/gtkwidget.c
+@@ -4352,12 +4352,12 @@ gtk_widget_reparent_subwindows (GtkWidge
for (tmp_list = children; tmp_list; tmp_list = tmp_list->next)
{
@@ -278,7 +278,7 @@
if (child)
gdk_window_reparent (window, new_window, 0, 0);
-@@ -3847,10 +3847,10 @@ gtk_widget_reparent_subwindows (GtkWidge
+@@ -4380,10 +4380,10 @@ gtk_widget_reparent_subwindows (GtkWidge
for (tmp_list = children; tmp_list; tmp_list = tmp_list->next)
{
@@ -291,10 +291,10 @@
if (child == widget)
gdk_window_reparent (window, new_window, 0, 0);
}
-Index: gtk+-2.8.4/gtk/queryimmodules.c
+Index: gtk+-2.11.5/gtk/queryimmodules.c
===================================================================
---- gtk+-2.8.4.orig/gtk/queryimmodules.c
-+++ gtk+-2.8.4/gtk/queryimmodules.c
+--- gtk+-2.11.5.orig/gtk/queryimmodules.c
++++ gtk+-2.11.5/gtk/queryimmodules.c
@@ -89,11 +89,10 @@ print_escaped (const char *str)
static gboolean
query_module (const char *dir, const char *name)
@@ -335,10 +335,10 @@
for (i=0; i
#include
#include
-Index: gtk+-2.8.4/tests/testgtk.c
+Index: gtk+-2.11.5/tests/testgtk.c
===================================================================
---- gtk+-2.8.4.orig/tests/testgtk.c
-+++ gtk+-2.8.4/tests/testgtk.c
-@@ -2231,7 +2231,7 @@ gridded_geometry_response (GtkDialog *di
+--- gtk+-2.11.5.orig/tests/testgtk.c
++++ gtk+-2.11.5/tests/testgtk.c
+@@ -2400,7 +2400,7 @@ gridded_geometry_response (GtkDialog *di
static void
create_gridded_geometry (GtkWidget *widget)
{
@@ -361,16 +361,7 @@
GtkWidget *entry;
GtkWidget *label;
-@@ -2255,7 +2255,7 @@ create_gridded_geometry (GtkWidget *widg
-
- g_signal_connect (window, "response",
- G_CALLBACK (gridded_geometry_response), entry);
-- g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);
-+ g_object_add_weak_pointer (G_OBJECT (window), &window);
-
- gtk_widget_show_all (window);
- }
-@@ -4607,7 +4607,7 @@ accel_button_new (GtkAccelGroup *accel_g
+@@ -4778,7 +4778,7 @@ accel_button_new (GtkAccelGroup *accel_g
static void
create_key_lookup (GtkWidget *widget)
{
@@ -379,16 +370,7 @@
if (!window)
{
-@@ -4648,7 +4648,7 @@ create_key_lookup (GtkWidget *widget)
- button = gtk_button_new_with_mnemonic ("Button 11 (_!)");
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->vbox), button, FALSE, FALSE, 0);
-
-- g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);
-+ g_object_add_weak_pointer (G_OBJECT (window), &window);
- g_signal_connect (window, "response", G_CALLBACK (gtk_object_destroy), NULL);
-
- gtk_widget_show_all (window);
-@@ -11784,7 +11784,7 @@ find_widget (GtkWidget *widget, FindWidg
+@@ -12041,7 +12041,7 @@ find_widget (GtkWidget *widget, FindWidg
static GtkWidget *
find_widget_at_pointer (GdkDisplay *display)
{
@@ -397,17 +379,19 @@
GdkWindow *pointer_window;
gint x, y;
FindWidgetData data;
-@@ -11792,11 +11792,11 @@ find_widget_at_pointer (GdkDisplay *disp
+@@ -12049,12 +12049,12 @@ find_widget_at_pointer (GdkDisplay *disp
pointer_window = gdk_display_get_window_at_pointer (display, NULL, NULL);
if (pointer_window)
-- gdk_window_get_user_data (pointer_window, (gpointer*) &widget);
-+ gdk_window_get_user_data (pointer_window, &widget);
+- gdk_window_get_user_data (pointer_window, (gpointer) &widget);
++ gdk_window_get_user_data (pointer_window, &widget);
if (widget)
{
- gdk_window_get_pointer (widget->window,
-+ gdk_window_get_pointer (((GtkWidget *)widget)->window,
- &x, &y, NULL);
+- &x, &y, NULL);
++ gdk_window_get_pointer (((GtkWidget *) widget)->window,
++ &x, &y, NULL);
data.x = x;
+ data.y = y;
++++++ gtktextview.c.diff ++++++
--- /var/tmp/diff_new_pack.AZ2591/_old 2007-07-10 18:15:21.000000000 +0200
+++ /var/tmp/diff_new_pack.AZ2591/_new 2007-07-10 18:15:21.000000000 +0200
@@ -1,10 +1,11 @@
---- gtk/gtktextview.c
+Index: gtk/gtktextview.c
+===================================================================
+--- gtk/gtktextview.c.orig
+++ gtk/gtktextview.c
-@@ -5827,26 +5827,6 @@
- "allocate_child",
+@@ -6043,29 +6043,6 @@ gtk_text_view_ensure_layout (GtkTextView
G_CALLBACK (gtk_text_view_child_allocated),
text_view);
--
+
- if (get_buffer (text_view))
- gtk_text_layout_set_buffer (text_view->layout, get_buffer (text_view));
-
@@ -13,6 +14,9 @@
- else
- gtk_text_layout_set_cursor_visible (text_view->layout, FALSE);
-
+- gtk_text_layout_set_overwrite_mode (text_view->layout,
+- text_view->overwrite_mode && text_view->editable);
+-
- ltr_context = gtk_widget_create_pango_context (GTK_WIDGET (text_view));
- pango_context_set_base_dir (ltr_context, PANGO_DIRECTION_LTR);
- rtl_context = gtk_widget_create_pango_context (GTK_WIDGET (text_view));
@@ -24,10 +28,11 @@
- g_object_unref (rtl_context);
-
- gtk_text_view_check_keymap_direction (text_view);
-
+-
style = gtk_text_attributes_new ();
-@@ -5870,6 +5850,26 @@
+ gtk_widget_ensure_style (widget);
+@@ -6088,6 +6065,26 @@ gtk_text_view_ensure_layout (GtkTextView
gtk_text_attributes_unref (style);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org