diff options
author | Monsta <[email protected]> | 2015-08-31 16:32:35 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-31 21:57:23 +0200 |
commit | d2493e8c96096ae1cfd913a3aa19dd21124fdbcc (patch) | |
tree | cbff37ac0bd6996c32ae47c72ec8727f6a50753f /mate-dictionary/src | |
parent | 95421224cbde6b664e11748c6c24c5a11074498e (diff) | |
download | mate-utils-d2493e8c96096ae1cfd913a3aa19dd21124fdbcc.tar.bz2 mate-utils-d2493e8c96096ae1cfd913a3aa19dd21124fdbcc.tar.xz |
dictionary: have applet background automatically painted
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r-- | mate-dictionary/src/gdict-applet.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mate-dictionary/src/gdict-applet.c b/mate-dictionary/src/gdict-applet.c index ff417997..3ba45a82 100644 --- a/mate-dictionary/src/gdict-applet.c +++ b/mate-dictionary/src/gdict-applet.c @@ -742,21 +742,6 @@ gdict_applet_cmd_help (GtkAction *action, } } -#if !GTK_CHECK_VERSION (3, 0, 0) -static void -gdict_applet_change_background (MatePanelApplet *applet, - MatePanelAppletBackgroundType type, - GdkColor *color, - GdkPixmap *pixmap) -{ - if (MATE_PANEL_APPLET_CLASS (gdict_applet_parent_class)->change_background) - MATE_PANEL_APPLET_CLASS (gdict_applet_parent_class)->change_background (applet, - type, - color, - pixmap); -} -#endif - static void gdict_applet_change_orient (MatePanelApplet *applet, MatePanelAppletOrient orient) @@ -1113,9 +1098,6 @@ gdict_applet_class_init (GdictAppletClass *klass) widget_class->size_allocate = gdict_applet_size_allocate; widget_class->style_set = gdict_applet_style_set; -#if !GTK_CHECK_VERSION (3, 0, 0) - applet_class->change_background = gdict_applet_change_background; -#endif applet_class->change_orient = gdict_applet_change_orient; g_type_class_add_private (gobject_class, sizeof (GdictAppletPrivate)); |