[Kazehakase-cvs] CVS update: kazehakase/src/mozilla

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Mon Jan 15 11:35:48 JST 2007


Index: kazehakase/src/mozilla/kz-mozembed.cpp
diff -u kazehakase/src/mozilla/kz-mozembed.cpp:1.225 kazehakase/src/mozilla/kz-mozembed.cpp:1.226
--- kazehakase/src/mozilla/kz-mozembed.cpp:1.225	Tue Jan  9 13:36:17 2007
+++ kazehakase/src/mozilla/kz-mozembed.cpp	Mon Jan 15 11:35:48 2007
@@ -1288,16 +1288,8 @@
 	parent = gtk_widget_get_parent(GTK_WIDGET(embed));
 	g_return_if_fail(parent != NULL);
 	
-	if (visibility) 
-	{
-		gtk_widget_show(GTK_WIDGET(embed));
-		gtk_widget_show(parent);
-	}
-	else
-	{
-		gtk_widget_hide(GTK_WIDGET(embed));
-		gtk_widget_hide(parent);
-	}
+	g_object_set(embed, "visible", visibility, NULL);
+	g_object_set(parent, "visible", visibility, NULL);
 }
 
 #if 0


More information about the Kazehakase-cvs mailing list
Back to archive index