Trim trailing white spaces.
[geeqie.git] / src / bar_comment.c
index 156ab6e..36bc50d 100644 (file)
@@ -164,14 +164,14 @@ static void bar_pane_comment_write_config(GtkWidget *pane, GString *outstr, gint
        write_char_option(outstr, indent, "title", gtk_label_get_text(GTK_LABEL(pcd->pane.title)));
        WRITE_BOOL(pcd->pane, expanded);
        WRITE_CHAR(*pcd, key);
-       WRITE_INT(*pcd, height); 
+       WRITE_INT(*pcd, height);
        WRITE_STRING("/>");
 }
 
 static void bar_pane_comment_notify_cb(FileData *fd, NotifyType type, gpointer data)
 {
        PaneCommentData *pcd = data;
-       if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd) 
+       if ((type & (NOTIFY_REREAD | NOTIFY_CHANGE | NOTIFY_METADATA)) && fd == pcd->fd)
                {
                DEBUG_1("Notify pane_comment: %s %04x", fd->path, type);
 
@@ -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;