Author: cazfi
Date: Sat Apr  1 20:10:54 2017
New Revision: 35181

URL: http://svn.gna.org/viewcvs/freeciv?rev=35181&view=rev
Log:
Drop deprecated gtk_widget_set_app_paintable() calls

See hrm Feature #647932

Modified:
    trunk/client/gui-gtk-4.0/gui_main.c
    trunk/client/gui-gtk-4.0/mapctrl.c

Modified: trunk/client/gui-gtk-4.0/gui_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-4.0/gui_main.c?rev=35181&r1=35180&r2=35181&view=diff
==============================================================================
--- trunk/client/gui-gtk-4.0/gui_main.c (original)
+++ trunk/client/gui-gtk-4.0/gui_main.c Sat Apr  1 20:10:54 2017
@@ -2028,7 +2028,6 @@
     GtkWidget *p;
 
     p = gtk_window_new(GTK_WINDOW_POPUP);
-    gtk_widget_set_app_paintable(p, TRUE);
     gtk_widget_set_margin_start(p, 4);
     gtk_widget_set_margin_end(p, 4);
     gtk_widget_set_margin_top(p, 4);

Modified: trunk/client/gui-gtk-4.0/mapctrl.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-4.0/mapctrl.c?rev=35181&r1=35180&r2=35181&view=diff
==============================================================================
--- trunk/client/gui-gtk-4.0/mapctrl.c  (original)
+++ trunk/client/gui-gtk-4.0/mapctrl.c  Sat Apr  1 20:10:54 2017
@@ -123,7 +123,6 @@
 
   if (TILE_UNKNOWN != client_tile_get_known(ptile)) {
     p = gtk_window_new(GTK_WINDOW_POPUP);
-    gtk_widget_set_app_paintable(p, TRUE);
     gtk_widget_set_margin_start(p, 4);
     gtk_widget_set_margin_end(p, 4);
     gtk_widget_set_margin_top(p, 4);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to