eog r4577 - in trunk: . src



Author: csaavedra
Date: Tue May 20 22:23:38 2008
New Revision: 4577
URL: http://svn.gnome.org/viewvc/eog?rev=4577&view=rev

Log:
2008-05-20  Claudio Saavedra  <csaavedra gnome org>

	* src/eog-image.c: (eog_image_class_init):
	* src/eog-scroll-view.c: (eog_scroll_view_class_init):
	* src/eog-window.c: (eog_window_class_init):

	Make all signals pertain to the appropriate object types instead
	of G_TYPE_OBJECT. This will prevent signal names collisions and
	also fix introspection (making gtk-doc actually document these
	signals).



Modified:
   trunk/ChangeLog
   trunk/src/eog-image.c
   trunk/src/eog-scroll-view.c
   trunk/src/eog-window.c

Modified: trunk/src/eog-image.c
==============================================================================
--- trunk/src/eog-image.c	(original)
+++ trunk/src/eog-image.c	Tue May 20 22:23:38 2008
@@ -222,7 +222,7 @@
 
 	signals[SIGNAL_SAVE_PROGRESS] = 
 		g_signal_new ("save-progress",
-			      G_TYPE_OBJECT,
+			      EOG_TYPE_IMAGE,
 			      G_SIGNAL_RUN_LAST,
 			      G_STRUCT_OFFSET (EogImageClass, save_progress),
 			      NULL, NULL,

Modified: trunk/src/eog-scroll-view.c
==============================================================================
--- trunk/src/eog-scroll-view.c	(original)
+++ trunk/src/eog-scroll-view.c	Tue May 20 22:23:38 2008
@@ -1964,7 +1964,7 @@
 
 	view_signals [SIGNAL_ZOOM_CHANGED] =
 		g_signal_new ("zoom_changed",
-			      G_TYPE_OBJECT,
+			      EOG_TYPE_SCROLL_VIEW,
 			      G_SIGNAL_RUN_LAST,
 			      G_STRUCT_OFFSET (EogScrollViewClass, zoom_changed),
 			      NULL, NULL,

Modified: trunk/src/eog-window.c
==============================================================================
--- trunk/src/eog-window.c	(original)
+++ trunk/src/eog-window.c	Tue May 20 22:23:38 2008
@@ -4574,7 +4574,7 @@
  */
 	signals [SIGNAL_PREPARED] = 
 		g_signal_new ("prepared",
-			      G_TYPE_OBJECT,
+			      EOG_TYPE_WINDOW,
 			      G_SIGNAL_RUN_LAST,
 			      G_STRUCT_OFFSET (EogWindowClass, prepared),
 			      NULL, NULL,



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