A small xfce4-notes-plugin patch

Martti Kuparinen martti.kuparinen at iki.fi
Mon Dec 19 07:35:51 CET 2005


Please apply the following patch to xfce4-notes-plugin-0.11.1
so it works with older compilers...

Martti


--- panel-plugin/notes.c.orig	Sat Oct  1 18:30:35 2005
+++ panel-plugin/notes.c	Sun Dec 18 23:52:08 2005
@@ -148,9 +148,6 @@ notes_create_note (void)

    _note *note;

-  /* create or note structure */
-  note = g_new(_note, 1);
-
    GtkWidget *main_w;
    GtkWidget *table;
    GtkWidget *text_view;
@@ -169,6 +166,9 @@ notes_create_note (void)
    GtkWidget *hbox;

    GtkWidget *button_close_image;
+
+  /* create or note structure */
+  note = g_new(_note, 1);

    main_w = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_window_set_title (GTK_WINDOW (main_w), _("main_w"));



More information about the Xfce4-dev mailing list