summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-03-09 15:08:08 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-03-09 15:08:08 +0100
commit7ba95893b874ba730a2ffdd21ded8a787d79095e (patch)
tree27fd928207d0c4fc6006d9183d53a77ca6e18138
parent4f0affa0aa6d7b3e4663442c6e8e2f0999b83be0 (diff)
downloadkdbusnotification-7ba95893b874ba730a2ffdd21ded8a787d79095e.tar.gz
kdbusnotification-7ba95893b874ba730a2ffdd21ded8a787d79095e.zip
Fix unintended rename of GTK*
-rw-r--r--src/daemon/daemon.cpp10
-rw-r--r--src/daemon/daemon.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index f056721..1272c0f 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -44,7 +44,7 @@
#include "daemon.h"
NotifierContainer* GTKNotifierContainer = NULL;
-void real_handleGTTDEMain();
+void real_handleGTKMain();
NotifierContainer::NotifierContainer() : TQWidget() {
mPopupList.clear();
@@ -59,8 +59,8 @@ NotifierContainer::NotifierContainer() : TQWidget() {
NotifierContainer::~NotifierContainer() {
}
-void NotifierContainer::handleGTTDEMain() {
- real_handleGTTDEMain();
+void NotifierContainer::handleGTKMain() {
+ real_handleGTKMain();
}
void NotifierContainer::displayMessage(TQString title, TQString message, TQString icon, int x, int y) {
@@ -356,7 +356,7 @@ main(int argc, char **argv)
app.setMainWidget(&nc);
GTKNotifierContainer = &nc;
TQTimer *gtkEventProcessor = new TQTimer( &app );
- TQObject::connect( gtkEventProcessor, SIGNAL(timeout()), &nc, SLOT(handleGTTDEMain()) );
+ TQObject::connect( gtkEventProcessor, SIGNAL(timeout()), &nc, SLOT(handleGTKMain()) );
gtkEventProcessor->start( 100, FALSE ); // Every 0.1 seconds poll gtk for DBUS events
app.disableSessionManagement();
app.exec();
@@ -364,7 +364,7 @@ main(int argc, char **argv)
return 0;
}
-void real_handleGTTDEMain() {
+void real_handleGTKMain() {
while (gtk_events_pending())
gtk_main_iteration();
}
diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h
index 8e85a09..092242d 100644
--- a/src/daemon/daemon.h
+++ b/src/daemon/daemon.h
@@ -38,7 +38,7 @@ public:
void processEvents();
public slots:
- void handleGTTDEMain();
+ void handleGTKMain();
void popupClosed(KPassivePopup*);
private: