summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-11-23 16:05:39 +0000
committerHans Breuer <hans@src.gnome.org>2001-11-23 16:05:39 +0000
commit36ddd7d958bf6bb8a72635877d2fbff9df79df7f (patch)
tree477b0cb4e955e641c8876be5b7a6c71458e840a1 /gtk/gtkfixed.c
parenta259f181fb3fd5aef2e8f402adf76132dd03a484 (diff)
downloadgtk+-36ddd7d958bf6bb8a72635877d2fbff9df79df7f.tar.gz
reflect Pango API change
2001-11-23 Hans Breuer <hans@breuer.org> * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : reflect Pango API change * gtk/gtk.def : updated externals * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use g_return_val_if_fail() to avoid 'function must return a value' * gtk/gtkrc.c : added spaces to fix small coding style issues * gtk/gtkwidget.c : ... and linebreaks. Also a static for 'static correctness' * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket> because they only can be build on win32 after applying my patch
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r--gtk/gtkfixed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index c16aa2300f..4781c0f898 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -545,7 +545,7 @@ gtk_fixed_set_has_window (GtkFixed *fixed,
gboolean
gtk_fixed_get_has_window (GtkFixed *fixed)
{
- g_return_if_fail (GTK_IS_FIXED (fixed));
+ g_return_val_if_fail (GTK_IS_FIXED (fixed), FALSE);
return !GTK_WIDGET_NO_WINDOW (fixed);
}