diff options
author | miwi <miwi@FreeBSD.org> | 2016-01-09 21:26:33 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2016-01-09 21:26:33 +0800 |
commit | 91b6c1982c6158ec24672aaeb64becd3941dfd18 (patch) | |
tree | 7b86a1abe907c350fd1773b17f21ea0bcc1f5d1b /deskutils | |
parent | bf0a6940a0dd80a95c80f987dbe375ec904fe60b (diff) | |
download | freebsd-ports-gnome-91b6c1982c6158ec24672aaeb64becd3941dfd18.tar.gz freebsd-ports-gnome-91b6c1982c6158ec24672aaeb64becd3941dfd18.tar.zst freebsd-ports-gnome-91b6c1982c6158ec24672aaeb64becd3941dfd18.zip |
- Add missing patches from the previous commit
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/rubrica/files/patch-app_c | 11 | ||||
-rw-r--r-- | deskutils/rubrica/files/patch-callbacks_c | 11 | ||||
-rw-r--r-- | deskutils/rubrica/files/patch-data_view_c | 66 |
3 files changed, 88 insertions, 0 deletions
diff --git a/deskutils/rubrica/files/patch-app_c b/deskutils/rubrica/files/patch-app_c new file mode 100644 index 000000000000..fada05abdbd7 --- /dev/null +++ b/deskutils/rubrica/files/patch-app_c @@ -0,0 +1,11 @@ +--- src/app.c.orig 2016-01-08 10:28:54 UTC ++++ src/app.c +@@ -1339,7 +1339,7 @@ rubrica_app_init(RubricaApp* self) + + self->priv->cutted = NULL; + self->priv->notify = notify_notification_new("Rubrica Addressbook", +- NULL, "info", NULL); ++ "info", NULL); + self->priv->active_plugin = g_strdup("autodetect"); + self->priv->manager = r_lib_get_manager(); + self->priv->print_settings = NULL; diff --git a/deskutils/rubrica/files/patch-callbacks_c b/deskutils/rubrica/files/patch-callbacks_c new file mode 100644 index 000000000000..8a6255dc6a6c --- /dev/null +++ b/deskutils/rubrica/files/patch-callbacks_c @@ -0,0 +1,11 @@ +--- src/callbacks.c.orig 2016-01-08 10:29:13 UTC ++++ src/callbacks.c +@@ -638,7 +638,7 @@ on_info_cb (GtkWidget* button, gpointer + "wrap-license", FALSE, + NULL); + +- gdk_pixbuf_unref (logo); ++ g_object_unref (logo); + + gtk_dialog_run (GTK_DIALOG(about)); + gtk_widget_destroy (about); diff --git a/deskutils/rubrica/files/patch-data_view_c b/deskutils/rubrica/files/patch-data_view_c new file mode 100644 index 000000000000..bad9425e5270 --- /dev/null +++ b/deskutils/rubrica/files/patch-data_view_c @@ -0,0 +1,66 @@ +--- src/data_view.c.orig 2016-01-08 10:28:41 UTC ++++ src/data_view.c +@@ -689,7 +689,7 @@ data_view_set_image(RubricaDataView* vie + priv = RUBRICA_DATA_VIEW_GET_PRIVATE(view); + + gtk_image_set_from_pixbuf(GTK_IMAGE(priv->image), pixbuf); +- gdk_pixbuf_unref(pixbuf); ++ g_object_unref(pixbuf); + } + + +@@ -952,7 +952,7 @@ write_addresses(RubricaDataView* view, R + + data_view_write(body, "\n"); + data_view_write_pixbuf(body, pixbuf, _("Addresses")); +- gdk_pixbuf_unref(pixbuf); ++ g_object_unref(pixbuf); + + for (; address; address = r_card_get_next_address(R_CARD(card))) + { +@@ -1057,8 +1057,7 @@ write_work(RubricaDataView* view, RPerso + + data_view_write(body, "\n"); + data_view_write_pixbuf(body, pixbuf, _("Work")); +- gdk_pixbuf_unref(pixbuf); +- ++ g_object_unref(pixbuf); + data_view_write_line(body, _("Assignment"), assignment, TRUE); + data_view_write_line(body, _("Organization"), organization, TRUE); + data_view_write_line(body, _("Department"), department, TRUE); +@@ -1093,7 +1092,7 @@ write_net (RubricaDataView* view, RCard* + + data_view_write(body, "\n"); + data_view_write_pixbuf(body, pixbuf, _("Net")); +- gdk_pixbuf_unref(pixbuf); ++ g_object_unref(pixbuf); + + for (; net; net = r_card_get_next_net_address(R_CARD(card))) + { +@@ -1165,7 +1164,7 @@ write_telephones(RubricaDataView* view, + + data_view_write(body, "\n"); + data_view_write_pixbuf(body, pixbuf, _("Telephone")); +- gdk_pixbuf_unref(pixbuf); ++ g_object_unref(pixbuf); + + for (; tel; tel = r_card_get_next_telephone(R_CARD(card))) + { +@@ -1210,7 +1209,7 @@ write_notes(RubricaDataView* view, RPers + + data_view_write(body, "\n"); + data_view_write_pixbuf(body, pixbuf, _("Notes")); +- gdk_pixbuf_unref(pixbuf); ++ g_object_unref(pixbuf); + + if (has_partner) + { +@@ -1257,7 +1256,7 @@ write_company_notes(RubricaDataView* vie + data_view_write(body, "\n"); + data_view_write_pixbuf(body, pixbuf, _("Notes")); + data_view_write(body, "\n"); +- gdk_pixbuf_unref(pixbuf); ++ g_object_unref(pixbuf); + + data_view_write(body, text); + } |