Diff for /np2/x11/gtk2/gtk_main.c between versions 1.12 and 1.16

version 1.12, 2011/01/15 16:01:53 version 1.16, 2012/01/23 03:57:31
Line 1 Line 1
 /*      $Id$    */  
   
 /*  /*
  * Copyright (c) 2004 NONAKA Kimihiro <aw9k-nnk@asahi-net.or.jp>   * Copyright (c) 2004 NONAKA Kimihiro
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 315  gui_gtk_widget_create(void) Line 313  gui_gtk_widget_create(void)
         set_icon_bitmap(main_window);          set_icon_bitmap(main_window);
   
         g_signal_connect(GTK_OBJECT(main_window), "destroy",           g_signal_connect(GTK_OBJECT(main_window), "destroy", 
             G_CALLBACK(destroy_evhandler), "WM destroy");              G_CALLBACK(destroy_evhandler), (gpointer)"WM destroy");
         g_signal_connect(GTK_OBJECT(main_window), "key_press_event",          g_signal_connect(GTK_OBJECT(main_window), "key_press_event",
             G_CALLBACK(key_press_evhandler), NULL);              G_CALLBACK(key_press_evhandler), NULL);
         g_signal_connect(GTK_OBJECT(main_window), "key_release_event",          g_signal_connect(GTK_OBJECT(main_window), "key_release_event",
Line 421  gui_gtk_msgbox(const char *title, const  Line 419  gui_gtk_msgbox(const char *title, const 
   
         dialog = gtk_message_dialog_new(GTK_WINDOW(main_window),          dialog = gtk_message_dialog_new(GTK_WINDOW(main_window),
             GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL,              GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL,
             msgtype, btntype, msg);              msgtype, btntype, "%s", msg);
         gtk_window_set_title(GTK_WINDOW(dialog), title);          gtk_window_set_title(GTK_WINDOW(dialog), title);
   
         gtk_widget_show_all(dialog);          gtk_widget_show_all(dialog);

Removed from v.1.12  
changed lines
  Added in v.1.16


RetroPC.NET-CVS <cvs@retropc.net>