From 2735842083f3cca70546d040cd0801a3572f63dc Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Mon, 17 Jul 2017 14:14:18 -0400 Subject: 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 --- libmate-panel-applet/mate-panel-applet.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libmate-panel-applet') 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))) -- cgit v1.2.1