Remove commented out code.
authorLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 13:53:28 +0000 (15:53 +0200)
committerLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 13:53:28 +0000 (15:53 +0200)
src/bar_comment.c

index 156ab6e..5a75007 100644 (file)
@@ -196,18 +196,6 @@ static void bar_pane_comment_populate_popup(GtkTextView *textview, GtkMenu *menu
        menu_item_add_stock(GTK_WIDGET(menu), _("Replace existing text in selected files"), GTK_STOCK_CONVERT, G_CALLBACK(bar_pane_comment_sel_replace_cb), data);
 }
 
-#if 0
-static void bar_pane_comment_close(GtkWidget *bar)
-{
-       PaneCommentData *pcd;
-
-       pcd = g_object_get_data(G_OBJECT(bar), "pane_data");
-       if (!pcd) return;
-
-       gtk_widget_destroy(pcd->comment_view);
-}
-#endif
-
 static void bar_pane_comment_destroy(GtkWidget *widget, gpointer data)
 {
        PaneCommentData *pcd = data;