Commit 1751a749 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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.
parent 2406bea2
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):
......
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):
......
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):
......
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):
......
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):
......
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment