updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gbgoffice / 09_deprecated_SigC.patch
blob3b6151c9029475bd8d90f20a15efac708b812d8c
1 # Description: fix compilation with gcc-4.5 (and corresponding libstdc++)
2 # Some deprecated typedefs are finaly removed
3 # Constructors need not be explicitly named
4 # Author: George Danchev <danchev@debian.org>
5 # Forwarded: no
6 # Debian-Bug: #564991
7 --- a/src/dictgui.cpp
8 +++ b/src/dictgui.cpp
9 @@ -63,7 +63,7 @@ DictGui::DictGui(int argc, char **argv,
10 splash->show_now(); // show splash window NOW
11 splash->flush_queue(); // needed only once
13 - history = new History::History(CONF_WORDS_IN_HISTORY, CONF_MAX_WORD_LEN);
14 + history = new History(CONF_WORDS_IN_HISTORY, CONF_MAX_WORD_LEN);
16 splash->set_step(0.2);
17 #endif
18 --- a/src/dictgui.h
19 +++ b/src/dictgui.h
20 @@ -147,8 +147,8 @@ protected:
22 Glib::RefPtr<Gtk::TextBuffer> tbuf;
24 - SigC::Connection con_entry;
25 - SigC::Connection con_timer;
26 + sigc::connection con_entry;
27 + sigc::connection con_timer;
29 Glib::RefPtr<Gtk::Clipboard> clp;
31 --- a/src/workhelper.h
32 +++ b/src/workhelper.h
33 @@ -59,7 +59,7 @@ private:
34 Gtk::TextView textarea;
35 Gtk::ScrolledWindow scwin;
36 Gtk::VScrollbar *vs;
37 - SigC::Connection con_wait;
38 + sigc::connection con_wait;
40 unsigned int hide_timeout;
41 unsigned int sizex, sizey;