diff options
author | Torsten Schönfeld <tsch@src.gnome.org> | 2008-08-20 20:17:20 +0000 |
---|---|---|
committer | Torsten Schönfeld <tsch@src.gnome.org> | 2008-08-20 20:17:20 +0000 |
commit | 670d5ad341cb4e19a33c16372c7817e0aed8da1b (patch) | |
tree | 33eb50a5a083a9665cdf9a765d6be9245be4ea63 /gtk/gtkcolorseldialog.c | |
parent | 1e1fc9ff9e6c6f140097a5708e3ccb12a34f2d48 (diff) | |
download | gtk+-670d5ad341cb4e19a33c16372c7817e0aed8da1b.tar.gz |
(gtk_color_selection_dialog_get_color_selection): Use the correct macro to test
the validity of the passed-in dialog.
svn path=/trunk/; revision=21171
Diffstat (limited to 'gtk/gtkcolorseldialog.c')
-rw-r--r-- | gtk/gtkcolorseldialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcolorseldialog.c b/gtk/gtkcolorseldialog.c index 8c8b55f549..b89ebf2f87 100644 --- a/gtk/gtkcolorseldialog.c +++ b/gtk/gtkcolorseldialog.c @@ -189,7 +189,7 @@ gtk_color_selection_dialog_new (const gchar *title) /** * 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 @@ gtk_color_selection_dialog_new (const gchar *title) * 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 |