mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Use g_return_val_if_fail in this non-void function. (gdk_init_check):
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use g_return_val_if_fail in this non-void function. (gdk_init_check): Remove unused variable.
This commit is contained in:
parent
2406bea2b4
commit
1751a74916
@ -1,3 +1,9 @@
|
||||
2002-11-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
|
||||
g_return_val_if_fail in this non-void function.
|
||||
(gdk_init_check): Remove unused variable.
|
||||
|
||||
Thu Nov 7 15:42:12 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
|
||||
g_return_val_if_fail in this non-void function.
|
||||
(gdk_init_check): Remove unused variable.
|
||||
|
||||
Thu Nov 7 15:42:12 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
|
||||
g_return_val_if_fail in this non-void function.
|
||||
(gdk_init_check): Remove unused variable.
|
||||
|
||||
Thu Nov 7 15:42:12 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
|
||||
g_return_val_if_fail in this non-void function.
|
||||
(gdk_init_check): Remove unused variable.
|
||||
|
||||
Thu Nov 7 15:42:12 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
|
||||
g_return_val_if_fail in this non-void function.
|
||||
(gdk_init_check): Remove unused variable.
|
||||
|
||||
Thu Nov 7 15:42:12 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-11-07 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
|
||||
g_return_val_if_fail in this non-void function.
|
||||
(gdk_init_check): Remove unused variable.
|
||||
|
||||
Thu Nov 7 15:42:12 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
|
||||
|
@ -389,7 +389,7 @@ gdk_display_open_default_libgtk_only (void)
|
||||
{
|
||||
GdkDisplay *display;
|
||||
|
||||
g_return_if_fail (gdk_initialized);
|
||||
g_return_val_if_fail (gdk_initialized, NULL);
|
||||
|
||||
display = gdk_display_get_default ();
|
||||
if (display)
|
||||
@ -438,8 +438,6 @@ gboolean
|
||||
gdk_init_check (int *argc,
|
||||
char ***argv)
|
||||
{
|
||||
GdkDisplay *display;
|
||||
|
||||
gdk_parse_args (argc, argv);
|
||||
|
||||
return gdk_display_open_default_libgtk_only () != NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user