Author: cazfi
Date: Fri Nov 13 21:25:30 2015
New Revision: 30604

URL: http://svn.gna.org/viewcvs/freeciv?rev=30604&view=rev
Log:
Got rid of last gtk_dialog_get_action_area() usages in gtk3-client.

See patch #6567

Modified:
    trunk/client/gui-gtk-3.0/gamedlgs.c
    trunk/client/gui-gtk-3.0/gotodlg.c

Modified: trunk/client/gui-gtk-3.0/gamedlgs.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/gamedlgs.c?rev=30604&r1=30603&r2=30604&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/gamedlgs.c (original)
+++ trunk/client/gui-gtk-3.0/gamedlgs.c Fri Nov 13 21:25:30 2015
@@ -500,8 +500,7 @@
   g_signal_connect(shell, "destroy",
                   G_CALLBACK(gtk_widget_destroyed), &rates_dialog_shell);
 
-  gtk_widget_show_all(content);
-  gtk_widget_show_all(gtk_dialog_get_action_area(GTK_DIALOG(shell)));
+  gtk_widget_show_all(shell);
 
   rates_tax_value=-1;
   rates_lux_value=-1;

Modified: trunk/client/gui-gtk-3.0/gotodlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/gotodlg.c?rev=30604&r1=30603&r2=30604&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/gotodlg.c  (original)
+++ trunk/client/gui-gtk-3.0/gotodlg.c  Fri Nov 13 21:25:30 2015
@@ -243,9 +243,7 @@
   g_signal_connect(goto_list_selection, "changed",
     G_CALLBACK(goto_selection_callback), NULL);
 
-  gtk_widget_show_all(gtk_dialog_get_content_area(GTK_DIALOG(dshell)));
-  gtk_widget_show_all(gtk_dialog_get_action_area(GTK_DIALOG(dshell)));
-
+  gtk_widget_show_all(dshell);
 
   original_tile = get_center_tile_mapcanvas();
 


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

Reply via email to