gtk+ r21087 - in trunk: . gtk



Author: mitch
Date: Tue Aug 12 09:25:35 2008
New Revision: 21087
URL: http://svn.gnome.org/viewvc/gtk+?rev=21087&view=rev

Log:
2008-08-12  Michael Natterer  <mitch imendio com>

	* gtk/gtkwidget.c: change names of default implementations of
	our own signals to consistently contain "real":

	gtk_widget_style_set -> gtk_widget_real_style_set
	gtk_widget_direction_changed -> gtk_widget_real_direction_changed



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkwidget.c

Modified: trunk/gtk/gtkwidget.c
==============================================================================
--- trunk/gtk/gtkwidget.c	(original)
+++ trunk/gtk/gtkwidget.c	Tue Aug 12 09:25:35 2008
@@ -192,10 +192,10 @@
 						  GtkRequisition    *requisition);
 static void	gtk_widget_real_size_allocate	 (GtkWidget	    *widget,
 						  GtkAllocation	    *allocation);
-static void	gtk_widget_style_set		 (GtkWidget	    *widget,
-						  GtkStyle          *previous_style);
-static void	gtk_widget_direction_changed	 (GtkWidget	    *widget,
-						  GtkTextDirection   previous_direction);
+static void	gtk_widget_real_style_set        (GtkWidget         *widget,
+                                                  GtkStyle          *previous_style);
+static void	gtk_widget_real_direction_changed(GtkWidget         *widget,
+                                                  GtkTextDirection   previous_direction);
 
 static void	gtk_widget_real_grab_focus	 (GtkWidget         *focus_widget);
 static gboolean gtk_widget_real_query_tooltip    (GtkWidget         *widget,
@@ -427,8 +427,8 @@
   klass->state_changed = NULL;
   klass->parent_set = NULL;
   klass->hierarchy_changed = NULL;
-  klass->style_set = gtk_widget_style_set;
-  klass->direction_changed = gtk_widget_direction_changed;
+  klass->style_set = gtk_widget_real_style_set;
+  klass->direction_changed = gtk_widget_real_direction_changed;
   klass->grab_notify = NULL;
   klass->child_notify = NULL;
   klass->mnemonic_activate = gtk_widget_real_mnemonic_activate;
@@ -6047,15 +6047,15 @@
 }
 
 static void
-gtk_widget_direction_changed (GtkWidget        *widget,
-			      GtkTextDirection  previous_direction)
+gtk_widget_real_direction_changed (GtkWidget        *widget,
+                                   GtkTextDirection  previous_direction)
 {
   gtk_widget_queue_resize (widget);
 }
 
 static void
-gtk_widget_style_set (GtkWidget *widget,
-		      GtkStyle  *previous_style)
+gtk_widget_real_style_set (GtkWidget *widget,
+                           GtkStyle  *previous_style)
 {
   if (GTK_WIDGET_REALIZED (widget) &&
       !GTK_WIDGET_NO_WINDOW (widget))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]