diff options
Diffstat (limited to 'notes/test-notes.c')
-rw-r--r-- | notes/test-notes.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/notes/test-notes.c b/notes/test-notes.c deleted file mode 100644 index 41def58a24..0000000000 --- a/notes/test-notes.c +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ - -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> - -#include <gal/widgets/e-canvas.h> -#include <gal/e-text/e-text.h> - -#include "e-note.h" - -void -text_changed (GtkWidget *widget, gpointer data) -{ - g_print ("Text changed!\n"); -} - -gint -main (gint argc, gchar **argv) -{ - GtkWidget *note; - - gnome_init ("NotesTest", "0.0.1", argc, argv); - - note = e_note_new (); - e_note_set_text (E_NOTE (note), "This is a text note widget"); - gtk_signal_connect (GTK_OBJECT (note), "changed", - GTK_SIGNAL_FUNC (text_changed), NULL); - - gtk_widget_show (note); - gtk_main (); - - return 0; -} |