diff options
Diffstat (limited to 'src/linux/main.m')
-rw-r--r-- | src/linux/main.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/linux/main.m b/src/linux/main.m index 7047e7f..9e39f27 100644 --- a/src/linux/main.m +++ b/src/linux/main.m @@ -24,6 +24,7 @@ #import "TZFoundation.h" #import <gtk/gtk.h> #import "clipboard.h" +#import "logo.h" #import "MainWindow.h" #import "TikzGraphAssembler.h" @@ -42,6 +43,20 @@ int main (int argc, char *argv[]) { NSAutoreleasePool *initPool = [[NSAutoreleasePool alloc] init]; + GList *icon_list = NULL; + g_list_prepend (icon_list, get_logo(LOGO_SIZE_128)); + g_list_prepend (icon_list, get_logo(LOGO_SIZE_64)); + g_list_prepend (icon_list, get_logo(LOGO_SIZE_48)); + //g_list_prepend (icon_list, get_logo(LOGO_SIZE_32)); + g_list_prepend (icon_list, get_logo(LOGO_SIZE_24)); + g_list_prepend (icon_list, get_logo(LOGO_SIZE_16)); + gtk_window_set_default_icon_list (icon_list); + GList *list_head = icon_list; + while (list_head) { + g_object_unref ((GObject*)list_head->data); + list_head = list_head->next; + } + clipboard_init(); [TikzGraphAssembler setup]; MainWindow *window = [[MainWindow alloc] init]; |