diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-30 23:21:03 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-30 23:21:03 +0000 |
| commit | 13299062a8f93a0b5227a96239561ef75aaa052a (patch) | |
| tree | 86207c9ff5287a198a88eb2d1ec44e6366738932 /src | |
| parent | Fix typos in Gtk3 fixes, and fix separator API usage (diff) | |
| download | inkscape-13299062a8f93a0b5227a96239561ef75aaa052a.tar.gz inkscape-13299062a8f93a0b5227a96239561ef75aaa052a.zip | |
Drop checks for ancient GTK+ version
(bzr r11310)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/floating-behavior.h | 3 | ||||
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/ui/dialog/floating-behavior.h b/src/ui/dialog/floating-behavior.h index 7059f0a86..56ed76b41 100644 --- a/src/ui/dialog/floating-behavior.h +++ b/src/ui/dialog/floating-behavior.h @@ -66,7 +66,6 @@ private: Gtk::Dialog *_d; //< the actual dialog -#if GTK_VERSION_GE(2, 12) void _focus_event (void); bool _trans_timer (void); @@ -75,8 +74,6 @@ private: float _trans_focus; //< The percentage opacity when the dialog is focused float _trans_blur; //< The percentage opactiy when the dialog is not focused int _trans_time; //< The amount of time (in ms) for the dialog to change it's transparency -#endif - }; } // namespace Behavior diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 719e42f16..103d3a039 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -625,7 +625,6 @@ void InkscapePreferences::initPageUI() _("Same as Normal but may work better with some window managers")); #endif -#if GTK_VERSION_GE(2, 12) _page_windows.add_group_header( _("Dialog Transparency")); _win_trans_focus.init("/dialogs/transparency/on-focus", 0.5, 1.0, 0.01, 0.1, 1.0, false, false); _page_windows.add_line( true, _("Opacity when focused:"), _win_trans_focus, "", ""); @@ -633,7 +632,6 @@ void InkscapePreferences::initPageUI() _page_windows.add_line( true, _("Opacity when unfocused:"), _win_trans_blur, "", ""); _win_trans_time.init("/dialogs/transparency/animate-time", 0, 1000, 10, 100, 100, true, false); _page_windows.add_line( true, _("Time of opacity change animation:"), _win_trans_time, "ms", ""); -#endif _page_windows.add_group_header( _("Miscellaneous")); #ifndef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs |
