summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-20 20:08:39 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-20 20:08:39 +0000
commit9822e843ca0d51032c8cafa534cff25208458032 (patch)
treea3b780187d78a1c8e71f345c7fd97ed6e319b211 /src/trg-main-window.c
parent376327480b37a6d0a88029f070df991e6add71dc (diff)
#define our own log2() function for FreeBSD (issue 22), hopefully fix a reported libnotify crash due to no notify_init (issue 21)
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 883faa3..4e21cf7 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -1782,6 +1782,7 @@ static GObject *trg_main_window_constructor(GType type,
if (priv->icon)
gtk_window_set_default_icon(priv->icon);
+ notify_init(PACKAGE_NAME);
gtk_window_set_title(GTK_WINDOW(self), PACKAGE_NAME);
gtk_window_set_default_size(GTK_WINDOW(self), 1000, 600);
g_signal_connect(G_OBJECT(self), "delete-event",