Little fix.
authorHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sun, 10 May 2009 15:51:56 +0000 (15:51 +0000)
committerHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sun, 10 May 2009 15:51:56 +0000 (15:51 +0000)
src/plugins/netstatus/netstatus.c

index 5c39d8e..e94326b 100644 (file)
@@ -84,7 +84,6 @@ static void on_button_press( GtkWidget* widget, GdkEventButton* evt, Plugin* p )
         {
             iface = netstatus_icon_get_iface( NETSTATUS_ICON(widget) );
             ns->dlg = netstatus_dialog_new(iface);
-            g_object_unref(iface);
 
             /* fix background */
             gtk_widget_set_style(ns->dlg, p->panel->defstyle);