diff options
author | infirit <[email protected]> | 2014-11-22 18:30:38 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-22 18:43:04 +0100 |
commit | 232713d42e79c519cfb060bb286e4cd600678559 (patch) | |
tree | 10f856f9c23aef8c83a107f457f6864b548f5e2c /applets/clock/clock-map.c | |
parent | 1b0b03e09e3910280c1734475f0b0ac4122fcfca (diff) | |
download | mate-panel-232713d42e79c519cfb060bb286e4cd600678559.tar.bz2 mate-panel-232713d42e79c519cfb060bb286e4cd600678559.tar.xz |
Gtk3: Sync get_preferred_width/height() usage with gnome-panel
Even tough it works it makes taking code (eg StyleContext)
from gnome-panel much easier.
Also fixes a bug where applets are not drawn when moved/added.
Diffstat (limited to 'applets/clock/clock-map.c')
-rw-r--r-- | applets/clock/clock-map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/clock/clock-map.c b/applets/clock/clock-map.c index 13032c54..bb7fee5c 100644 --- a/applets/clock/clock-map.c +++ b/applets/clock/clock-map.c @@ -321,7 +321,7 @@ clock_map_expose (GtkWidget *this, GdkEventExpose *event) #if GTK_CHECK_VERSION (3, 0, 0) static void -clock_map_get_preferred_width (GtkWidget *widget, +clock_map_get_preferred_width (GtkWidget *this, gint *minimum_width, gint *natural_width) { @@ -329,7 +329,7 @@ clock_map_get_preferred_width (GtkWidget *widget, } static void -clock_map_get_preferred_height (GtkWidget *widget, +clock_map_get_preferred_height (GtkWidget *this, gint *minimum_height, gint *natural_height) { |