gtk+ r21171 - in trunk: . gtk



Author: tsch
Date: Wed Aug 20 20:17:20 2008
New Revision: 21171
URL: http://svn.gnome.org/viewvc/gtk+?rev=21171&view=rev

Log:
(gtk_color_selection_dialog_get_color_selection): Use the correct macro to test
the validity of the passed-in dialog.


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

Modified: trunk/gtk/gtkcolorseldialog.c
==============================================================================
--- trunk/gtk/gtkcolorseldialog.c	(original)
+++ trunk/gtk/gtkcolorseldialog.c	Wed Aug 20 20:17:20 2008
@@ -189,7 +189,7 @@
 
 /**
  * gtk_color_selection_dialog_get_color_selection:
- * @colorsel: a #GtkColorSelectionDialog
+ * @colorseldiag: a #GtkColorSelectionDialog
  *
  * Retrieves the #GtkColorSelection widget embedded in the dialog.
  *
@@ -198,11 +198,11 @@
  * Since: 2.14
  **/
 GtkWidget*
-gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel)
+gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorseldiag)
 {
-  g_return_val_if_fail (GTK_IS_COLOR_SELECTION (colorsel), NULL);
+  g_return_val_if_fail (GTK_IS_COLOR_SELECTION_DIALOG (colorseldiag), NULL);
 
-  return colorsel->colorsel;
+  return colorseldiag->colorsel;
 }
 
 static void



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