openbsd-ports/productivity/rubrica2/patches/patch-src_app_c
ajacoutot 6d01c2069a Fix build/run with new libnotify.
tested in a bulk by landry, thanks!
ok landry@ jasper@
2011-04-21 07:04:56 +00:00

27 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_app_c,v 1.2 2011/04/21 07:06:07 ajacoutot Exp $
Fix with libnotify>=0.7
(notify_notification_new has lost its widget argument)
--- src/app.c.orig Sun Dec 6 09:53:23 2009
+++ src/app.c Tue Apr 19 14:45:07 2011
@@ -69,7 +69,7 @@ static RubricaDefaultCategories defcats[] = {
{"applications-multimedia", "hobbies", N_("hobbies") },
{"sport", "sport", N_("sport") },
- {"bussines", "bussines", N_("bussines") },
+ {"bussines", "business", N_("business") },
{"system-file-manager", "company", N_("company") },
{"application-certificate", "legal", N_("legal") },
{"applications-office", "office", N_("office") },
@@ -1269,8 +1269,7 @@ rubrica_app_init(RubricaApp* self)
self->priv->cutted = NULL;
self->priv->notify = notify_notification_new("Rubrica Addressbook",
NULL,
- "info",
- NULL);
+ "info");
self->priv->show_card = TRUE;
g_object_set(self->priv->notebook, "homogeneous", FALSE, NULL);