Terminate g_object_[dis]connect() calls with NULL instead of 0. Fixes

2004-04-09  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
	(gtk_ui_manager_remove_action_group): Terminate
	g_object_[dis]connect() calls with NULL instead of 0.
	Fixes #138997.
This commit is contained in:
Christian Persch 2004-04-09 13:43:52 +00:00 committed by Christian Persch
parent f91b64b6b0
commit 4b7e06cbc4
6 changed files with 38 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
(gtk_ui_manager_remove_action_group): Terminate
g_object_[dis]connect() calls with NULL instead of 0.
Fixes #138997.
2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.

View File

@ -1,3 +1,10 @@
2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
(gtk_ui_manager_remove_action_group): Terminate
g_object_[dis]connect() calls with NULL instead of 0.
Fixes #138997.
2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.

View File

@ -1,3 +1,10 @@
2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
(gtk_ui_manager_remove_action_group): Terminate
g_object_[dis]connect() calls with NULL instead of 0.
Fixes #138997.
2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.

View File

@ -1,3 +1,10 @@
2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
(gtk_ui_manager_remove_action_group): Terminate
g_object_[dis]connect() calls with NULL instead of 0.
Fixes #138997.
2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.

View File

@ -1,3 +1,10 @@
2004-04-09 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
(gtk_ui_manager_remove_action_group): Terminate
g_object_[dis]connect() calls with NULL instead of 0.
Fixes #138997.
2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.

View File

@ -584,7 +584,8 @@ gtk_ui_manager_insert_action_group (GtkUIManager *self,
"object_signal::connect_proxy", G_CALLBACK (cb_proxy_connect_proxy), self,
"object_signal::disconnect_proxy", G_CALLBACK (cb_proxy_disconnect_proxy), self,
"object_signal::pre_activate", G_CALLBACK (cb_proxy_pre_activate), self,
"object_signal::post_activate", G_CALLBACK (cb_proxy_post_activate), self, 0);
"object_signal::post_activate", G_CALLBACK (cb_proxy_post_activate), self,
NULL);
/* dirty all nodes, as action bindings may change */
dirty_all_nodes (self);
@ -619,7 +620,7 @@ gtk_ui_manager_remove_action_group (GtkUIManager *self,
"any_signal::disconnect_proxy", G_CALLBACK (cb_proxy_disconnect_proxy), self,
"any_signal::pre_activate", G_CALLBACK (cb_proxy_pre_activate), self,
"any_signal::post_activate", G_CALLBACK (cb_proxy_post_activate), self,
0);
NULL);
g_object_unref (action_group);
/* dirty all nodes, as action bindings may change */