Fix unintended rename of GTK*

pull/1/head
Slávek Banko 12 years ago
parent 4f0affa0aa
commit 7ba95893b8

@ -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();
}

@ -38,7 +38,7 @@ public:
void processEvents();
public slots:
void handleGTTDEMain();
void handleGTKMain();
void popupClosed(KPassivePopup*);
private:

Loading…
Cancel
Save