summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/fish/fish.c4
-rw-r--r--applets/notification_area/main.c2
-rw-r--r--applets/wncklet/workspace-switcher.c10
3 files changed, 9 insertions, 7 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index 0c424f72..095167ce 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -467,7 +467,7 @@ static void display_preferences_dialog(GtkAction* action, FishApplet* fish)
gtk_spin_button_set_value (GTK_SPIN_BUTTON (fish->frames_spin),
fish->n_frames);
- g_signal_connect (fish->frames_spin, "value_changed",
+ g_signal_connect (fish->frames_spin, "value-changed",
G_CALLBACK (n_frames_value_changed), fish);
setup_sensitivity (fish, builder,
@@ -479,7 +479,7 @@ static void display_preferences_dialog(GtkAction* action, FishApplet* fish)
fish->speed_spin = GTK_WIDGET (gtk_builder_get_object (builder, "speed_spin"));
gtk_spin_button_set_value (GTK_SPIN_BUTTON (fish->speed_spin), fish->speed);
- g_signal_connect (fish->speed_spin, "value_changed",
+ g_signal_connect (fish->speed_spin, "value-changed",
G_CALLBACK (speed_value_changed), fish);
setup_sensitivity (fish, builder,
diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c
index 05962969..8a3d7105 100644
--- a/applets/notification_area/main.c
+++ b/applets/notification_area/main.c
@@ -194,7 +194,7 @@ ensure_prefs_window_is_created (NaTrayApplet *applet)
gtk_spin_button_set_range (GTK_SPIN_BUTTON (applet->priv->dialog->min_icon_size_spin), 7, 130);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (applet->priv->dialog->min_icon_size_spin), applet->priv->min_icon_size);
- g_signal_connect_swapped (applet->priv->dialog->min_icon_size_spin, "value_changed",
+ g_signal_connect_swapped (applet->priv->dialog->min_icon_size_spin, "value-changed",
G_CALLBACK (na_preferences_dialog_min_icon_size_changed),
applet);
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 31bd2853..a830c3af 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -794,12 +794,14 @@ static void workspace_destroyed(WnckScreen* screen, WnckWorkspace* space, PagerD
}
#endif /* HAVE_X11 */
-static void num_workspaces_value_changed(GtkSpinButton* button, PagerData* pager)
+static void
+on_num_workspaces_value_changed (GtkSpinButton *button,
+ PagerData *pager)
{
#ifdef HAVE_X11
if (pager->screen)
{
- int workspace_count = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(pager->num_workspaces_spin));
+ int workspace_count = gtk_spin_button_get_value_as_int (button);
wnck_screen_change_workspace_count(pager->screen, workspace_count);
}
#endif /* HAVE_X11 */
@@ -1013,7 +1015,7 @@ static void setup_dialog(GtkBuilder* builder, PagerData* pager)
}
/* Num rows: */
- g_signal_connect(G_OBJECT(pager->num_rows_spin), "value_changed", (GCallback) num_rows_value_changed, pager);
+ g_signal_connect (pager->num_rows_spin, "value-changed", G_CALLBACK (num_rows_value_changed), pager);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(pager->num_rows_spin), pager->n_rows);
gtk_label_set_text(GTK_LABEL(pager->label_row_col), pager->orientation == GTK_ORIENTATION_HORIZONTAL ? _("rows") : _("columns"));
@@ -1041,7 +1043,7 @@ static void setup_dialog(GtkBuilder* builder, PagerData* pager)
}
#endif /* HAVE_X11 */
- g_signal_connect(G_OBJECT(pager->num_workspaces_spin), "value_changed", (GCallback) num_workspaces_value_changed, pager);
+ g_signal_connect (pager->num_workspaces_spin, "value-changed", G_CALLBACK (on_num_workspaces_value_changed), pager);
g_signal_connect(G_OBJECT(pager->workspaces_tree), "focus_out_event", (GCallback) workspaces_tree_focused_out, pager);