Commit 931edd2d authored by Tor Lillqvist's avatar Tor Lillqvist

Use a better name for the variable added in previous commit.

parent 5c614c42
...@@ -116,7 +116,7 @@ typedef struct { ...@@ -116,7 +116,7 @@ typedef struct {
/* global set of module_info pointers */ /* global set of module_info pointers */
static GimpSet *modules; static GimpSet *modules;
static GimpSetHandlerId modules_add_handler; static GimpSetHandlerId modules_handler;
/* If the inhibit state of any modules changes, we might need to /* If the inhibit state of any modules changes, we might need to
* re-write the modulerc. */ * re-write the modulerc. */
...@@ -332,7 +332,7 @@ module_db_browser_new (void) ...@@ -332,7 +332,7 @@ module_db_browser_new (void)
/* hook the gimpset signals so we can refresh the display /* hook the gimpset signals so we can refresh the display
* appropriately. */ * appropriately. */
modules_add_handler = modules_handler =
gimp_set_add_handler (modules, "modified", browser_info_update, st); gimp_set_add_handler (modules, "modified", browser_info_update, st);
gtk_signal_connect (GTK_OBJECT (modules), "add", gtk_signal_connect (GTK_OBJECT (modules), "add",
...@@ -726,7 +726,7 @@ browser_destroy_callback (GtkWidget *w, ...@@ -726,7 +726,7 @@ browser_destroy_callback (GtkWidget *w,
gpointer client_data) gpointer client_data)
{ {
gtk_signal_disconnect_by_data (GTK_OBJECT (modules), client_data); gtk_signal_disconnect_by_data (GTK_OBJECT (modules), client_data);
gimp_set_remove_handler (modules, modules_add_handler); gimp_set_remove_handler (modules, modules_handler);
g_free (client_data); g_free (client_data);
} }
......
...@@ -116,7 +116,7 @@ typedef struct { ...@@ -116,7 +116,7 @@ typedef struct {
/* global set of module_info pointers */ /* global set of module_info pointers */
static GimpSet *modules; static GimpSet *modules;
static GimpSetHandlerId modules_add_handler; static GimpSetHandlerId modules_handler;
/* If the inhibit state of any modules changes, we might need to /* If the inhibit state of any modules changes, we might need to
* re-write the modulerc. */ * re-write the modulerc. */
...@@ -332,7 +332,7 @@ module_db_browser_new (void) ...@@ -332,7 +332,7 @@ module_db_browser_new (void)
/* hook the gimpset signals so we can refresh the display /* hook the gimpset signals so we can refresh the display
* appropriately. */ * appropriately. */
modules_add_handler = modules_handler =
gimp_set_add_handler (modules, "modified", browser_info_update, st); gimp_set_add_handler (modules, "modified", browser_info_update, st);
gtk_signal_connect (GTK_OBJECT (modules), "add", gtk_signal_connect (GTK_OBJECT (modules), "add",
...@@ -726,7 +726,7 @@ browser_destroy_callback (GtkWidget *w, ...@@ -726,7 +726,7 @@ browser_destroy_callback (GtkWidget *w,
gpointer client_data) gpointer client_data)
{ {
gtk_signal_disconnect_by_data (GTK_OBJECT (modules), client_data); gtk_signal_disconnect_by_data (GTK_OBJECT (modules), client_data);
gimp_set_remove_handler (modules, modules_add_handler); gimp_set_remove_handler (modules, modules_handler);
g_free (client_data); g_free (client_data);
} }
......
...@@ -116,7 +116,7 @@ typedef struct { ...@@ -116,7 +116,7 @@ typedef struct {
/* global set of module_info pointers */ /* global set of module_info pointers */
static GimpSet *modules; static GimpSet *modules;
static GimpSetHandlerId modules_add_handler; static GimpSetHandlerId modules_handler;
/* If the inhibit state of any modules changes, we might need to /* If the inhibit state of any modules changes, we might need to
* re-write the modulerc. */ * re-write the modulerc. */
...@@ -332,7 +332,7 @@ module_db_browser_new (void) ...@@ -332,7 +332,7 @@ module_db_browser_new (void)
/* hook the gimpset signals so we can refresh the display /* hook the gimpset signals so we can refresh the display
* appropriately. */ * appropriately. */
modules_add_handler = modules_handler =
gimp_set_add_handler (modules, "modified", browser_info_update, st); gimp_set_add_handler (modules, "modified", browser_info_update, st);
gtk_signal_connect (GTK_OBJECT (modules), "add", gtk_signal_connect (GTK_OBJECT (modules), "add",
...@@ -726,7 +726,7 @@ browser_destroy_callback (GtkWidget *w, ...@@ -726,7 +726,7 @@ browser_destroy_callback (GtkWidget *w,
gpointer client_data) gpointer client_data)
{ {
gtk_signal_disconnect_by_data (GTK_OBJECT (modules), client_data); gtk_signal_disconnect_by_data (GTK_OBJECT (modules), client_data);
gimp_set_remove_handler (modules, modules_add_handler); gimp_set_remove_handler (modules, modules_handler);
g_free (client_data); g_free (client_data);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment