[Xfce4-commits] <xfce4-smartbookmark-plugin:master> remove commented out code

Landry Breuil noreply at xfce.org
Mon Feb 18 22:16:02 CET 2013


Updating branch refs/heads/master
         to afd8dcba74102be5924bb9d0c8d06614f58c97db (commit)
       from 8c4971e17efdfc207d73089e5803ad1c0f30d76f (commit)

commit afd8dcba74102be5924bb9d0c8d06614f58c97db
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Feb 18 22:14:49 2013 +0100

    remove commented out code

 src/smartbookmark.c |   35 -----------------------------------
 1 files changed, 0 insertions(+), 35 deletions(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 01e71fb..a74d21c 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -207,45 +207,11 @@ static t_search *search_new(XfcePanelPlugin *plugin)
         gtk_widget_hide(search->label);
     }
 
-    /*
-    filename = xfce_panel_plugin_save_location(plugin, TRUE);
-    search_read_config(search, filename);
-    */
     DBG ("SmartBookMark created");
 
     return (search);
 }
 
-/*
-static gboolean search_control_new(Control * ctrl)
-{
-    t_search *search;
-
-    search = search_new();
-
-    gtk_container_add(GTK_CONTAINER(ctrl->base), search->ebox);
-
-    ctrl->data = (gpointer) search;
-    ctrl->with_popup = FALSE;
-
-    gtk_widget_set_size_request(ctrl->base, -1, -1);
-
-    return (TRUE);
-}
-
-static void search_free(Control * ctrl)
-{
-    t_search *search;
-
-    g_return_if_fail(ctrl != NULL);
-    g_return_if_fail(ctrl->data != NULL);
-
-    search = (t_search *) ctrl->data;
-
-    g_free(search);
-}
-*/
-
 static void search_read_config(t_search *search, const gchar* filename)
 {
     XfceRc* rcfile;
@@ -387,6 +353,5 @@ smartbookmark_construct(XfcePanelPlugin *plugin)
     xfce_panel_plugin_menu_show_configure (plugin);
     g_signal_connect (plugin, "configure-plugin",
                       G_CALLBACK (search_create_options), search);
-    //cc->read_config = search_read_config;
 }
 


More information about the Xfce4-commits mailing list