/[pcsx2_0.9.7]/trunk/plugins/zzogl-pg/opengl/Linux/Linux.cpp
ViewVC logotype

Diff of /trunk/plugins/zzogl-pg/opengl/Linux/Linux.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/plugins/zzogl-pg/opengl/Linux/Linux.cpp	2010/12/25 02:47:42	289
+++ trunk/plugins/zzogl-pg/opengl/Linux/Linux.cpp	2010/12/25 02:51:30	290
@@ -252,7 +252,7 @@
 	
 	gtk_box_pack_start(GTK_BOX(advanced_box), advanced_scroll, true, true, 2);
 	
-	gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), advanced_frame);
+	gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), advanced_frame);
 
 	gtk_widget_show_all(dialog);
 
@@ -401,7 +401,7 @@
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widescreen_check), (conf.widescreen()));
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dis_hacks_check), (conf.disableHacks));
 
-	gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), main_frame);
+	gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), main_frame);
 	g_signal_connect_swapped(GTK_OBJECT (advanced_button), "clicked", G_CALLBACK(DisplayAdvancedDialog), advanced_button);
 	tempHacks = conf.hacks;
 	gtk_widget_show_all(dialog);

 

  ViewVC Help
Powered by ViewVC 1.1.22