diff options
author | lukefromdc <[email protected]> | 2017-07-17 14:14:18 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2017-07-17 14:33:23 -0400 |
commit | 2735842083f3cca70546d040cd0801a3572f63dc (patch) | |
tree | 3a5cb46ed55d5bf877c199d00e0b709039b1a85c /libmate-panel-applet | |
parent | 7bee2f870bcf850f68fdf8d8db4bd2e914ece143 (diff) | |
download | mate-panel-2735842083f3cca70546d040cd0801a3572f63dc.tar.bz2 mate-panel-2735842083f3cca70546d040cd0801a3572f63dc.tar.xz |
Revert "libmate-panel-applet: Fix another potential source of applet crashes"
This reverts commit cf46fb7f03d6ab0e106fa1cbfbf180fbbb9a5b75.
*Note that this is because the code added was already present in the same function
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 26646091..3bbaab82 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -1329,8 +1329,6 @@ mate_panel_applet_get_pattern_from_pixmap (MatePanelApplet *applet, cairo_t *cr; cairo_pattern_t *pattern; - pattern = NULL; /*Properly initialize this, otherwise crashes can occur*/ - g_return_val_if_fail (PANEL_IS_APPLET (applet), NULL); if (!gtk_widget_get_realized (GTK_WIDGET (applet))) |