Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49595 - /trunk/gtk/src/YGWidget.cc
  • From: rpmcruz@xxxxxxxxxxxxxxxx
  • Date: Sat, 02 Aug 2008 04:50:23 -0000
  • Message-id: <20080802045023.8D4DE27373@xxxxxxxxxxxxxxxx>
Author: rpmcruz
Date: Sat Aug 2 06:50:22 2008
New Revision: 49595

URL: http://svn.opensuse.org/viewcvs/yast?rev=49595&view=rev
Log:
Fixed debug code.

Modified:
trunk/gtk/src/YGWidget.cc

Modified: trunk/gtk/src/YGWidget.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGWidget.cc?rev=49595&r1=49594&r2=49595&view=diff
==============================================================================
--- trunk/gtk/src/YGWidget.cc (original)
+++ trunk/gtk/src/YGWidget.cc Sat Aug 2 06:50:22 2008
@@ -55,9 +55,13 @@
IMPL
// remove children if container?
#if 0
+ struct inner {
+ static void foreach_child_cb (GtkWidget *child, GtkContainer
*container)
+ { gtk_container_remove (container, child); }
+ };
if (GTK_IS_CONTAINER (m_widget))
gtk_container_foreach (GTK_CONTAINER (m_widget),
- (GtkCallback) gtk_container_remove, NULL);
+ (GtkCallback) inner::foreach_child_cb, m_widget);
#endif
gtk_widget_destroy (m_adj_size);
g_object_unref (G_OBJECT (m_adj_size));

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages