mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
(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
This commit is contained in:
parent
1e1fc9ff9e
commit
670d5ad341
@ -1,3 +1,12 @@
|
|||||||
|
2008-08-20 Torsten Schoenfeld <kaffeetisch@gmx.de>
|
||||||
|
|
||||||
|
Bug 548346 – gtk_color_selection_dialog_get_color_selection always
|
||||||
|
returns NULL
|
||||||
|
|
||||||
|
* gtk/gtkcolorseldialog.c
|
||||||
|
(gtk_color_selection_dialog_get_color_selection): Use the correct
|
||||||
|
macro to test the validity of the passed-in dialog.
|
||||||
|
|
||||||
2008-08-05 Milan Crha <mcrha@redhat.com>
|
2008-08-05 Milan Crha <mcrha@redhat.com>
|
||||||
|
|
||||||
* gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
|
* gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
|
||||||
|
@ -189,7 +189,7 @@ gtk_color_selection_dialog_new (const gchar *title)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_color_selection_dialog_get_color_selection:
|
* gtk_color_selection_dialog_get_color_selection:
|
||||||
* @colorsel: a #GtkColorSelectionDialog
|
* @colorseldiag: a #GtkColorSelectionDialog
|
||||||
*
|
*
|
||||||
* Retrieves the #GtkColorSelection widget embedded in the dialog.
|
* Retrieves the #GtkColorSelection widget embedded in the dialog.
|
||||||
*
|
*
|
||||||
@ -198,11 +198,11 @@ gtk_color_selection_dialog_new (const gchar *title)
|
|||||||
* Since: 2.14
|
* Since: 2.14
|
||||||
**/
|
**/
|
||||||
GtkWidget*
|
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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user