Message ID | 1370294084-4576-1-git-send-email-aliguori@us.ibm.com |
---|---|
State | New |
Headers | show |
On 06/03/13 23:14, Anthony Liguori wrote: > - g_object_unref(cursor); > + gdk_cursor_unref(cursor); Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> cheers, Gerd
Am 03.06.2013 23:14, schrieb Anthony Liguori: > It's not a GObject. > > Cc: Gerd Hoffman <kraxel@redhat.com> > Reported-by: Michael Tokarev <mjt@tls.msk.ru> > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> > --- > v1 -> v2 > - Fix summary to agree with code (Peter) > --- > ui/gtk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Seems this was accidentally cherry-picked rather than git-am'ed. ;) Andreas
Andreas Färber <afaerber@suse.de> writes: > Am 03.06.2013 23:14, schrieb Anthony Liguori: >> It's not a GObject. >> >> Cc: Gerd Hoffman <kraxel@redhat.com> >> Reported-by: Michael Tokarev <mjt@tls.msk.ru> >> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> >> --- >> v1 -> v2 >> - Fix summary to agree with code (Peter) >> --- >> ui/gtk.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Seems this was accidentally cherry-picked rather than git-am'ed. ;) Sort of, but yes. Regards, Anthony Liguori > > Andreas > > -- > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Applied. Thanks. Regards, Anthony Liguori
>>> On 6/3/2013 at 03:14 PM, Anthony Liguori <aliguori@us.ibm.com> wrote: > It's not a GObject. > > Cc: Gerd Hoffman <kraxel@redhat.com> > Reported-by: Michael Tokarev <mjt@tls.msk.ru> > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> > --- > v1 -> v2 > - Fix summary to agree with code (Peter) > --- > ui/gtk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ui/gtk.c b/ui/gtk.c > index 8dc9041..3bc2842 100644 > --- a/ui/gtk.c > +++ b/ui/gtk.c > @@ -377,7 +377,7 @@ static void gd_cursor_define(DisplayChangeListener *dcl, > pixbuf, c->hot_x, c->hot_y); > gdk_window_set_cursor(gtk_widget_get_window(s->drawing_area), cursor); > g_object_unref(pixbuf); > - g_object_unref(cursor); > + gdk_cursor_unref(cursor); > } > > static void gd_switch(DisplayChangeListener *dcl, This is a candidate for the 1.5.2 stable release. Bruce
>>> On 6/3/2013 at 03:14 PM, Anthony Liguori <aliguori@us.ibm.com> wrote: > It's not a GObject. > > Cc: Gerd Hoffman <kraxel@redhat.com> > Reported-by: Michael Tokarev <mjt@tls.msk.ru> > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> > --- > v1 -> v2 > - Fix summary to agree with code (Peter) > --- > ui/gtk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ui/gtk.c b/ui/gtk.c > index 8dc9041..3bc2842 100644 > --- a/ui/gtk.c > +++ b/ui/gtk.c > @@ -377,7 +377,7 @@ static void gd_cursor_define(DisplayChangeListener *dcl, > pixbuf, c->hot_x, c->hot_y); > gdk_window_set_cursor(gtk_widget_get_window(s->drawing_area), cursor); > g_object_unref(pixbuf); > - g_object_unref(cursor); > + gdk_cursor_unref(cursor); > } > > static void gd_switch(DisplayChangeListener *dcl, This is a candidate for the 1.5.2 stable release. Bruce
diff --git a/ui/gtk.c b/ui/gtk.c index 8dc9041..3bc2842 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -377,7 +377,7 @@ static void gd_cursor_define(DisplayChangeListener *dcl, pixbuf, c->hot_x, c->hot_y); gdk_window_set_cursor(gtk_widget_get_window(s->drawing_area), cursor); g_object_unref(pixbuf); - g_object_unref(cursor); + gdk_cursor_unref(cursor); } static void gd_switch(DisplayChangeListener *dcl,
It's not a GObject. Cc: Gerd Hoffman <kraxel@redhat.com> Reported-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- v1 -> v2 - Fix summary to agree with code (Peter) --- ui/gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)