Mailinglist Archive: yast-commit (2080 mails)

< Previous Next >
[yast-commit] r58633 - in /trunk/gtk: ChangeLog src/YGUI.cc
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Mon, 14 Sep 2009 12:50:18 -0000
  • Message-id: <E1MnB0c-0002xT-Ax@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Mon Sep 14 14:50:17 2009
New Revision: 58633

URL: http://svn.opensuse.org/viewcvs/yast?rev=58633&view=rev
Log:
Initialize Gtk stuff even in thread-less
environment

Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/YGUI.cc

Modified: trunk/gtk/ChangeLog
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=58633&r1=58632&r2=58633&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Mon Sep 14 14:50:17 2009
@@ -1,3 +1,8 @@
+2009-09-14 Katarina Machalkova <kmachalkova@xxxxxxx>
+ * src/YGUI.cc: initialize Gtk stuff in ctor if we're running
+ without threads. This enables standalone libyui, where
+ with_threads=false use Gtk interface (thanks mmeeks for help)
+
2009-09-13 Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>

* src/YGPackageSelector.cc: bug fix: repository selection not

Modified: trunk/gtk/src/YGUI.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGUI.cc?rev=58633&r1=58632&r2=58633&view=diff
==============================================================================
--- trunk/gtk/src/YGUI.cc (original)
+++ trunk/gtk/src/YGUI.cc Mon Sep 14 14:50:17 2009
@@ -44,6 +44,11 @@

YGUI::setTextdomain( TEXTDOMAIN );

+ // If we're running without threads, initialize Gtk stuff
+ // This enables standalone libyui use Gtk interface
+ if (!with_threads)
+ checkInit();
+
// without this none of the (default) threading action works ...
topmostConstructorHasFinished();
}

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

< Previous Next >
This Thread
  • No further messages