[Title] Fix wrong icon on License window// Summary
authormunkyu.im <munkyu.im@samsung.com>
Wed, 19 Oct 2011 06:56:14 +0000 (15:56 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Wed, 19 Oct 2011 06:56:14 +0000 (15:56 +0900)
[Type]      Bugfix
[Module]    // Module Name - (Main / Sub)
[Priority]  Minor
[CQ#]       //
[Redmine#]  #2836
[Problem]   // Problem Description
[Cause]     // Cause Description
[Solution]  // Solution Description
[TestCase]  // Executed the test-target

SLP/src/emulator.c

index 0d880bd..1af0b79 100644 (file)
@@ -373,7 +373,7 @@ static void construct_main_window(void)
                exit(EXIT_FAILURE);
        }
 
-       if(gtk_window_set_icon_from_file(GTK_WINDOW (g_main_window), emul_img_dir, NULL) == FALSE) {
+       if(gtk_window_set_default_icon_from_file(emul_img_dir, NULL) == FALSE) {
                log_msg(MSGL_ERROR, "emulator icon from file doesn't set!! %s\n", emul_img_dir);
                exit(EXIT_FAILURE);
        }