diff options
author | Tim Janik <timj@gtk.org> | 2002-01-09 10:28:02 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2002-01-09 10:28:02 +0000 |
commit | adb892f2c92f2cd984099d567907734710ac5d60 (patch) | |
tree | 535d1e22db71e8111bcf1dfda603bd65e906f4ab /gtk/gtkfontsel.c | |
parent | 8ccfa3edb95ed3fb5d0ba4f3c0a46e8c729a768e (diff) | |
download | gdk-pixbuf-adb892f2c92f2cd984099d567907734710ac5d60.tar.gz |
don't cast a possible NULL pointer.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):
* gtk/gtkspinbutton.c (gtk_spin_button_get_property):
* gtk/gtktreeview.c (gtk_tree_view_get_property):
* gtk/gtkwidget.c (gtk_widget_get_property):
* gtk/gtkfontsel.c (gtk_font_selection_get_property):
* gtk/gtkrange.c (gtk_range_get_property):
* gtk/gtkviewport.c (gtk_viewport_get_property):
* gtk/gtkprogressbar.c (gtk_progress_bar_get_property): don't cast a
possible NULL pointer.
Diffstat (limited to 'gtk/gtkfontsel.c')
-rw-r--r-- | gtk/gtkfontsel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c index 6397537cb..a2aa27469 100644 --- a/gtk/gtkfontsel.c +++ b/gtk/gtkfontsel.c @@ -242,7 +242,7 @@ static void gtk_font_selection_get_property (GObject *object, g_value_set_string (value, gtk_font_selection_get_font_name (fontsel)); break; case PROP_FONT: - g_value_set_object (value, G_OBJECT (gtk_font_selection_get_font (fontsel))); + g_value_set_object (value, gtk_font_selection_get_font (fontsel)); break; case PROP_PREVIEW_TEXT: g_value_set_string (value, gtk_font_selection_get_preview_text (fontsel)); |