diff options
author | monsta <[email protected]> | 2017-01-27 14:50:16 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-27 14:50:16 +0300 |
commit | 58cff7d1f9416f01e8bff7d93dd5a321fccf81b0 (patch) | |
tree | 7a67dc972af415ea84b31100f3d06d81fdeb469c | |
parent | 72f7f71dfcb084b4825cf18d63558058584dc949 (diff) | |
download | mate-panel-58cff7d1f9416f01e8bff7d93dd5a321fccf81b0.tar.bz2 mate-panel-58cff7d1f9416f01e8bff7d93dd5a321fccf81b0.tar.xz |
[GTK+3] fix runtime warning about allocation
port of 0802dc27cae8b42766704e8e848f7fc035c66019 to mixed GTK+2/3 code
-rw-r--r-- | mate-panel/button-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/button-widget.c b/mate-panel/button-widget.c index 8e5b38de..e07b4d07 100644 --- a/mate-panel/button-widget.c +++ b/mate-panel/button-widget.c @@ -253,8 +253,8 @@ button_widget_reload_pixbuf (ButtonWidget *button) * is never used. We are overriding the draw() method, so having a child doesn't * affect the widget rendering anyway. */ -#endif gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_pixbuf (button->priv->pixbuf)); +#endif } button->priv->pixbuf_hc = make_hc_pixbuf (button->priv->pixbuf); |