[Xfce4-commits] <midori:master> Remove sokoke_image_menu_item_new_ellipsized

Christian Dywan noreply at xfce.org
Sun Nov 15 18:30:01 CET 2009


Updating branch refs/heads/master
         to 6e6f6e867a09ba1b3a4fc3b36c90bee304fb8fd7 (commit)
       from c012a1e5bdd0c1205d16f4477386f98c802efc51 (commit)

commit 6e6f6e867a09ba1b3a4fc3b36c90bee304fb8fd7
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Nov 15 17:58:43 2009 +0100

    Remove sokoke_image_menu_item_new_ellipsized

 midori/midori-view.c |    2 +-
 midori/sokoke.c      |   14 --------------
 midori/sokoke.h      |    3 ---
 3 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index e7ce2d7..1cdf41f 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3230,7 +3230,7 @@ midori_view_get_proxy_menu_item (MidoriView* view)
     if (!view->menu_item)
     {
         title = midori_view_get_display_title (view);
-        view->menu_item = sokoke_image_menu_item_new_ellipsized (title);
+        view->menu_item = katze_image_menu_item_new_ellipsized (title);
         gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (view->menu_item),
             gtk_image_new_from_pixbuf (view->icon));
 
diff --git a/midori/sokoke.c b/midori/sokoke.c
index 0a0ef43..fbc112f 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -866,20 +866,6 @@ sokoke_action_create_popup_menu_item (GtkAction* action)
 }
 
 /**
- * sokoke_image_menu_item_new_ellipsized:
- * @label: the text of the menu item
- *
- * Creates a new #GtkImageMenuItem containing an ellipsized label.
- *
- * Return value: a new #GtkImageMenuItem
- **/
-GtkWidget*
-sokoke_image_menu_item_new_ellipsized (const gchar* label)
-{
-    return katze_image_menu_item_new_ellipsized (label);
-}
-
-/**
  * sokoke_time_t_to_julian:
  * @timestamp: a time_t timestamp value
  *
diff --git a/midori/sokoke.h b/midori/sokoke.h
index f2155a3..a178d92 100644
--- a/midori/sokoke.h
+++ b/midori/sokoke.h
@@ -142,9 +142,6 @@ sokoke_widget_get_text_size             (GtkWidget*      widget,
 GtkWidget*
 sokoke_action_create_popup_menu_item    (GtkAction*      action);
 
-GtkWidget*
-sokoke_image_menu_item_new_ellipsized   (const gchar*    label);
-
 gint64
 sokoke_time_t_to_julian                 (const time_t*   timestamp);
 



More information about the Xfce4-commits mailing list