diff options
author | Manish Singh <yosh@gimp.org> | 2004-11-19 23:18:38 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2004-11-19 23:18:38 +0000 |
commit | 60b30ff5136acffc66b9e4fe27fb2509011ca896 (patch) | |
tree | 73de26d8daab28fad8341e7774d583afabc98d11 /gtk/gtkcellrendererprogress.c | |
parent | 3d325e30d90af932c29a7fa90c9dc44c87237905 (diff) | |
download | gdk-pixbuf-60b30ff5136acffc66b9e4fe27fb2509011ca896.tar.gz |
gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c
Fri Nov 19 14:54:09 2004 Manish Singh <yosh@gimp.org>
* gdk/linux-fb/gdkgc-fb.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkwindow-win32.c
* gtk/gtkaboutdialog.c
* gtk/gtkaction.c
* gtk/gtkactiongroup.c
* gtk/gtkcellrendererprogress.c
* gtk/gtkcellview.c
* gtk/gtkcolorbutton.c
* gtk/gtkcombobox.c
* gtk/gtkcomboboxentry.c
* gtk/gtkentrycompletion.c
* gtk/gtkfilechooserbutton.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkrc.c
* gtk/gtksettings.c
* gtk/gtkstyle.c
* gtk/gtktoggletoolbutton.c
* gtk/gtktoolbutton.c
* gtk/gtktoolitem.c
* gtk/gtktreemodelfilter.c
* gtk/gtktreeselection.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkuimanager.c: get rid of unnecessary casts.
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
cast away the const for g_value_set_enum. This is after the g_warning,
so this is a hack to begin with.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
add a cast to GTK_FILE_CHOOSER for impl here.
Diffstat (limited to 'gtk/gtkcellrendererprogress.c')
-rw-r--r-- | gtk/gtkcellrendererprogress.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c index f529a2e83..750b3ddc2 100644 --- a/gtk/gtkcellrendererprogress.c +++ b/gtk/gtkcellrendererprogress.c @@ -163,7 +163,7 @@ gtk_cell_renderer_progress_init (GtkCellRendererProgress *cellprogress) GtkCellRenderer* gtk_cell_renderer_progress_new (void) { - return GTK_CELL_RENDERER (g_object_new (GTK_TYPE_CELL_RENDERER_PROGRESS, NULL)); + return g_object_new (GTK_TYPE_CELL_RENDERER_PROGRESS, NULL); } static void @@ -272,7 +272,7 @@ compute_dimensions (GtkCellRenderer *cell, if (height) *height = logical_rect.height + cell->ypad * 2 + widget->style->ythickness * 2; - g_object_unref (G_OBJECT (layout)); + g_object_unref (layout); } static void @@ -372,7 +372,7 @@ gtk_cell_renderer_progress_render (GtkCellRenderer *cell, x + pos, y + (h - logical_rect.height)/2, layout); - g_object_unref (G_OBJECT (layout)); - g_object_unref (G_OBJECT (gc)); + g_object_unref (layout); + g_object_unref (gc); } |