[anjuta] starter: Don't call cairo_destroy() in draw handler



commit 083b29d91e213372bc309586f212a6a54dbb9fa0
Author: Johannes Schmid <jhs gnome org>
Date:   Mon Nov 8 17:58:26 2010 +0100

    starter: Don't call cairo_destroy() in draw handler
    
    cairo is owned by gtk+ and we must not destroy it.

 .gitignore                |   67 +--------------------------------------------
 plugins/starter/starter.c |    2 -
 2 files changed, 1 insertions(+), 68 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fd6cf14..a92530c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,79 +36,14 @@
 /intltool-update
 /intltool-update.in
 /libtool
+/po/*.gmo
 /po/*.mo
 /po/.intltool-merge-cache
 /po/Makefile
 /po/Makefile.in
 /po/Makefile.in.in
 /po/POTFILES
-/po/ar.gmo
-/po/az.gmo
-/po/be.gmo
-/po/be latin gmo
-/po/bg.gmo
-/po/ca.gmo
-/po/ca valencia gmo
-/po/cs.gmo
-/po/da.gmo
-/po/de.gmo
-/po/dz.gmo
-/po/el.gmo
-/po/en shaw gmo
-/po/en_CA.gmo
-/po/en_GB.gmo
-/po/es.gmo
-/po/eu.gmo
-/po/fi.gmo
-/po/fr.gmo
-/po/ga.gmo
-/po/gl.gmo
-/po/gu.gmo
-/po/he.gmo
-/po/hi.gmo
-/po/hr.gmo
-/po/hu.gmo
-/po/hy.gmo
-/po/id.gmo
-/po/it.gmo
-/po/ja.gmo
-/po/kn.gmo
-/po/ko.gmo
-/po/lt.gmo
-/po/lv.gmo
-/po/mai.gmo
-/po/mk.gmo
-/po/ml.gmo
-/po/mr.gmo
-/po/ms.gmo
-/po/nb.gmo
-/po/ne.gmo
-/po/nl.gmo
-/po/oc.gmo
-/po/or.gmo
-/po/pa.gmo
-/po/pl.gmo
-/po/pt.gmo
-/po/pt_BR.gmo
-/po/ro.gmo
-/po/ru.gmo
-/po/rw.gmo
-/po/si.gmo
-/po/sk.gmo
-/po/sl.gmo
-/po/sq.gmo
-/po/sr.gmo
-/po/sr latin gmo
 /po/stamp-it
-/po/sv.gmo
-/po/te.gmo
-/po/th.gmo
-/po/tr.gmo
-/po/uk.gmo
-/po/vi.gmo
-/po/zh_CN.gmo
-/po/zh_HK.gmo
-/po/zh_TW.gmo
 /so_locations
 /stamp-h1
 /tags
diff --git a/plugins/starter/starter.c b/plugins/starter/starter.c
index 673efbd..ee89964 100644
--- a/plugins/starter/starter.c
+++ b/plugins/starter/starter.c
@@ -293,8 +293,6 @@ on_draw_cb (GtkWidget *widget, cairo_t *cr,
 	
 	cairo_paint (cr);
 	
-	cairo_destroy (cr);	
-
 	GList *l, *list = NULL;
 	list = gtk_container_get_children (GTK_CONTAINER (widget));
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]