public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/gcursor/files: gcursor-0.061-signal.patch
@ 2010-06-06  9:33 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-06-06  9:33 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/06/06 09:33:53

  Added:                gcursor-0.061-signal.patch
  Log:
  Fix "could not find signal handler" bug wrt #216804 by Lei Qing.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  gnome-extra/gcursor/files/gcursor-0.061-signal.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gcursor/files/gcursor-0.061-signal.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gcursor/files/gcursor-0.061-signal.patch?rev=1.1&content-type=text/plain

Index: gcursor-0.061-signal.patch
===================================================================
http://bugs.gentoo.org/216804

--- src/gcursor.c
+++ src/gcursor.c
@@ -16,6 +16,9 @@
 #include <gconf/gconf-client.h>
 #include <glade/glade.h>
 
+#define CONNECT_SIGNAL(name) glade_xml_signal_connect(main_window, #name, \
+		G_CALLBACK(name))
+
 void reload_tree(GtkWidget *tree, GtkListStore *store);
 void size_changed();
 GladeXML *main_window = NULL;
@@ -429,6 +432,10 @@
 	client  = gconf_client_get_default();
 
 	main_window = glade_xml_new(GLADE_PATH"/gcursor.glade", "select_dialog", NULL);
+	CONNECT_SIGNAL(extract_theme);
+	CONNECT_SIGNAL(open_theme_dir);
+	CONNECT_SIGNAL(entry_selected);
+	CONNECT_SIGNAL(size_changed);
 	store       = gtk_list_store_new(2, GDK_TYPE_PIXBUF, GTK_TYPE_STRING);
 	tree        = glade_xml_get_widget(main_window, "cursor_tree");
 	gtk_tree_view_set_model(GTK_TREE_VIEW(tree), GTK_TREE_MODEL(store));






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-06  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-06  9:33 [gentoo-commits] gentoo-x86 commit in gnome-extra/gcursor/files: gcursor-0.061-signal.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox