diff options
-rw-r--r-- | calendar/eventedit.c | 2 | ||||
-rw-r--r-- | calendar/gncal-week-view.c | 2 | ||||
-rw-r--r-- | calendar/gui/eventedit.c | 2 | ||||
-rw-r--r-- | calendar/gui/gncal-week-view.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/calendar/eventedit.c b/calendar/eventedit.c index 33b1381262..b4063bb17f 100644 --- a/calendar/eventedit.c +++ b/calendar/eventedit.c @@ -1050,7 +1050,7 @@ ee_rp_init_rule (EventEditor *ee) /* 2.1 The week period selector */ ee->recur_rr_week_period = make_spin_button (week_period, 1, 10000); - gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new _("Every"), FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("Every")), FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (week_hbox), ee->recur_rr_week_period, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("week(s)")), FALSE, FALSE, 0); diff --git a/calendar/gncal-week-view.c b/calendar/gncal-week-view.c index ef3b2b9fc8..e73c0ccf25 100644 --- a/calendar/gncal-week-view.c +++ b/calendar/gncal-week-view.c @@ -106,7 +106,7 @@ gncal_week_view_new (GnomeCalendar *calendar, time_t start_of_week) for (i = 0; i < 7; i++) { wview->days[i] = GNCAL_DAY_VIEW (gncal_day_view_new (calendar, 0, 0)); gtk_signal_connect (GTK_OBJECT (wview->days [i]), "button_press_event", - GTK_SIGNAL_CONNECT(double_click_on_weekday), wview); + GTK_SIGNAL_FUNC(double_click_on_weekday), wview); if (i < 5) gtk_table_attach (GTK_TABLE (wview), GTK_WIDGET (wview->days[i]), diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 33b1381262..b4063bb17f 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -1050,7 +1050,7 @@ ee_rp_init_rule (EventEditor *ee) /* 2.1 The week period selector */ ee->recur_rr_week_period = make_spin_button (week_period, 1, 10000); - gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new _("Every"), FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("Every")), FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (week_hbox), ee->recur_rr_week_period, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (week_hbox), gtk_label_new (_("week(s)")), FALSE, FALSE, 0); diff --git a/calendar/gui/gncal-week-view.c b/calendar/gui/gncal-week-view.c index ef3b2b9fc8..e73c0ccf25 100644 --- a/calendar/gui/gncal-week-view.c +++ b/calendar/gui/gncal-week-view.c @@ -106,7 +106,7 @@ gncal_week_view_new (GnomeCalendar *calendar, time_t start_of_week) for (i = 0; i < 7; i++) { wview->days[i] = GNCAL_DAY_VIEW (gncal_day_view_new (calendar, 0, 0)); gtk_signal_connect (GTK_OBJECT (wview->days [i]), "button_press_event", - GTK_SIGNAL_CONNECT(double_click_on_weekday), wview); + GTK_SIGNAL_FUNC(double_click_on_weekday), wview); if (i < 5) gtk_table_attach (GTK_TABLE (wview), GTK_WIDGET (wview->days[i]), |