[planner] Remove deprecated gtk_signal_connect, GTK_SIGNAL, GtkSignalFunc.
- From: Luis Menina <lmenina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner] Remove deprecated gtk_signal_connect, GTK_SIGNAL, GtkSignalFunc.
- Date: Tue, 5 Mar 2013 17:12:08 +0000 (UTC)
commit 8f45e255248043feb7602f25d3815159c990a06a
Author: Luis Menina <liberforce freeside fr>
Date: Sat Mar 2 12:47:32 2013 +0100
Remove deprecated gtk_signal_connect, GTK_SIGNAL, GtkSignalFunc.
https://bugzilla.gnome.org/show_bug.cgi?id=575129
po/am.po | 4 ----
po/az.po | 4 ----
po/be.po | 4 ----
po/ga.po | 4 ----
po/hi.po | 4 ----
po/hr.po | 3 ---
po/kn.po | 4 ----
po/ko.po | 4 ----
po/mk.po | 4 ----
po/ml.po | 4 ----
po/mn.po | 4 ----
po/ms.po | 4 ----
po/nn.po | 4 ----
po/pa.po | 4 ----
po/pt.po | 4 ----
po/sq.po | 4 ----
src/planner-cell-renderer-date.c | 6 +++---
17 files changed, 3 insertions(+), 66 deletions(-)
---
diff --git a/po/am.po b/po/am.po
index 1215169..a8bd014 100644
--- a/po/am.po
+++ b/po/am.po
@@ -1151,10 +1151,6 @@ msgstr ""
msgid "Today"
msgstr "ዛሬ"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "ተወው"
diff --git a/po/az.po b/po/az.po
index 7cbac35..1534364 100644
--- a/po/az.po
+++ b/po/az.po
@@ -1125,10 +1125,6 @@ msgstr ""
msgid "Today"
msgstr ""
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Ləğv Et"
diff --git a/po/be.po b/po/be.po
index 600bca3..b8527a6 100644
--- a/po/be.po
+++ b/po/be.po
@@ -1169,10 +1169,6 @@ msgstr "Мусіць распачацца"
msgid "Today"
msgstr "Сёньня"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Адмяніць"
diff --git a/po/ga.po b/po/ga.po
index 4e5451a..a5ffeff 100644
--- a/po/ga.po
+++ b/po/ga.po
@@ -921,10 +921,6 @@ msgstr ""
msgid "Today"
msgstr "Inniú"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Cealaigh"
diff --git a/po/hi.po b/po/hi.po
index abac00c..2875caa 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -1004,10 +1004,6 @@ msgstr "अवश्य आरंभ करें"
msgid "Today"
msgstr "आज"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "निरस्त"
diff --git a/po/hr.po b/po/hr.po
index e2c0c4c..0f61c2d 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -959,9 +959,6 @@ msgstr "Mora početi u"
msgid "Today"
msgstr "Danas"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Odustani"
diff --git a/po/kn.po b/po/kn.po
index b1fc3a5..6d0117b 100644
--- a/po/kn.po
+++ b/po/kn.po
@@ -1082,10 +1082,6 @@ msgstr ""
msgid "Today"
msgstr ""
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr ""
diff --git a/po/ko.po b/po/ko.po
index f9ae474..ab56873 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -949,10 +949,6 @@ msgstr "날짜에 시작"
msgid "Today"
msgstr "오늘"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "취소"
diff --git a/po/mk.po b/po/mk.po
index 849872e..fc50639 100644
--- a/po/mk.po
+++ b/po/mk.po
@@ -1135,10 +1135,6 @@ msgstr ""
msgid "Today"
msgstr "Денес"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Откажи"
diff --git a/po/ml.po b/po/ml.po
index 3f5e314..4d4ace7 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -1173,10 +1173,6 @@ msgstr ""
msgid "Today"
msgstr "ഇന്ന്"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "റദ്ദാക്കുക"
diff --git a/po/mn.po b/po/mn.po
index 145f207..3102214 100644
--- a/po/mn.po
+++ b/po/mn.po
@@ -1095,10 +1095,6 @@ msgstr ""
msgid "Today"
msgstr "Даваа гариг"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr ""
diff --git a/po/ms.po b/po/ms.po
index dc97505..23d9d6b 100644
--- a/po/ms.po
+++ b/po/ms.po
@@ -1121,10 +1121,6 @@ msgstr "Mesti bermula pada"
msgid "Today"
msgstr "Hari ini"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Batal"
diff --git a/po/nn.po b/po/nn.po
index c014ab6..41b7f00 100644
--- a/po/nn.po
+++ b/po/nn.po
@@ -1235,10 +1235,6 @@ msgstr ""
msgid "Today"
msgstr "I dag"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Avbryt"
diff --git a/po/pa.po b/po/pa.po
index 99a2816..9cb9419 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -680,10 +680,6 @@ msgstr "ਇਸ ਤੇ ਜਰੂਰ ਸ਼ੁਰੂ ਕਰਨਾ ਹੈ"
msgid "Today"
msgstr "ਅੱਜ"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "ਰੱਦ"
diff --git a/po/pt.po b/po/pt.po
index 90e599b..01053ba 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1043,10 +1043,6 @@ msgstr "Tem de começar a"
msgid "Today"
msgstr "Hoje"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Cancelar"
diff --git a/po/sq.po b/po/sq.po
index 239bfd6..d6f4db0 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -742,10 +742,6 @@ msgstr "nisje në"
msgid "Today"
msgstr "Sot"
-#. gtk_signal_connect (GTK_OBJECT (button), "clicked",
-#. GTK_SIGNAL_FUNC (m_cell_date_today_clicked),
-#. date);
-#.
#: src/planner-cell-renderer-date.c:179
msgid "Cancel"
msgstr "Anulloje"
diff --git a/src/planner-cell-renderer-date.c b/src/planner-cell-renderer-date.c
index d8d6226..ccd434d 100644
--- a/src/planner-cell-renderer-date.c
+++ b/src/planner-cell-renderer-date.c
@@ -73,7 +73,7 @@ static void mcrd_show (PlannerCellRendererPopup *cell
gint y2);
static void mcrd_hide (PlannerCellRendererPopup *cell);
static void mcrd_setup_option_menu (GtkWidget *option_menu,
- GtkSignalFunc func,
+ GCallback func,
gpointer user_data,
gpointer str1, ...);
@@ -506,7 +506,7 @@ mcrd_constraint_activated_cb (GtkWidget *widget,
static void
mcrd_setup_option_menu (GtkWidget *option_menu,
- GtkSignalFunc func,
+ GCallback func,
gpointer user_data,
gpointer str1, ...)
{
@@ -534,7 +534,7 @@ mcrd_setup_option_menu (GtkWidget *option_menu,
g_object_set_data (G_OBJECT (menu_item),
"data",
GINT_TO_POINTER (type));
- gtk_signal_connect (GTK_OBJECT (menu_item),
+ g_signal_connect (G_OBJECT (menu_item),
"activate",
func,
user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]