diff options
author | Jasmine Hassan <[email protected]> | 2012-10-31 01:30:30 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-14 09:42:33 +0200 |
commit | ae0deb0d1da0060fa0bba24b0fb6a65e53dc94ee (patch) | |
tree | b5af7739a967db3c85a5c2f275a65f693eed9358 /eel/eel-gtk-extensions.h | |
parent | f9c3a1bd9499c47db2b32a0487ad3c91dbafeea9 (diff) | |
download | caja-ae0deb0d1da0060fa0bba24b0fb6a65e53dc94ee.tar.bz2 caja-ae0deb0d1da0060fa0bba24b0fb6a65e53dc94ee.tar.xz |
[eel-gtk-extensions] remove dead code
As in the commit below, except move a few we still need around to
eel-image-table, which has been removed upstream. Specifically moving:
eel_gtk_widget_find_windowed_ancestor to: find_windowed_ancestor()
eel_gtk_signal_connect_while_realized to: signal_connect_while_realized()
Also move while_realized_disconnecter(), as it's needed by the latter.
http://git.gnome.org/browse/nautilus/commit/?id=a904f4acd546151ab37ee03bcce87869a805c323
Diffstat (limited to 'eel/eel-gtk-extensions.h')
-rw-r--r-- | eel/eel-gtk-extensions.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/eel/eel-gtk-extensions.h b/eel/eel-gtk-extensions.h index e286bf74..1da3e8f4 100644 --- a/eel/eel-gtk-extensions.h +++ b/eel/eel-gtk-extensions.h @@ -54,32 +54,10 @@ void eel_gtk_signal_connect_while_realized (GtkObject /* GtkWidget */ void eel_gtk_widget_set_shown (GtkWidget *widget, gboolean shown); -gboolean eel_point_in_allocation (const GtkAllocation *allocation, - int x, - int y); -gboolean eel_point_in_widget (GtkWidget *widget, - int x, - int y); void eel_gtk_widget_set_background_color (GtkWidget *widget, const char *color_spec); void eel_gtk_widget_set_foreground_color (GtkWidget *widget, const char *color_spec); -GtkWidget * eel_gtk_widget_find_windowed_ancestor (GtkWidget *widget); -PangoFontDescription *eel_gtk_get_system_font (void); -void eel_gtk_widget_get_button_event_location (GtkWidget *widget, - const GdkEventButton *event, - int *x, - int *y); -void eel_gtk_widget_get_motion_event_location (GtkWidget *widget, - const GdkEventMotion *event, - int *x, - int *y); - -/* GtkContainer */ -GtkWidget * eel_gtk_container_get_first_child (GtkContainer *container); -void eel_gtk_container_foreach_deep (GtkContainer *container, - GtkCallback callback, - gpointer callback_data); /* GtkWindow */ void eel_gtk_window_set_initial_geometry (GtkWindow *window, @@ -107,21 +85,12 @@ void eel_pop_up_context_menu (GtkMenu GtkMenuItem * eel_gtk_menu_append_separator (GtkMenu *menu); GtkMenuItem * eel_gtk_menu_insert_separator (GtkMenu *menu, int index); -void eel_gtk_menu_set_item_visibility (GtkMenu *menu, - int index, - gboolean visible); /* GtkMenuToolButton */ GtkWidget * eel_gtk_menu_tool_button_get_button (GtkMenuToolButton *tool_button); /* GtkLabel */ void eel_gtk_label_make_bold (GtkLabel *label); -void eel_gtk_label_set_scale (GtkLabel *label, - double scale_factor); -void eel_gtk_label_set_drop_shadow_color (GtkLabel *label, - guint32 color); -void eel_gtk_label_set_drop_shadow_offset (GtkLabel *label, - gint offset); /* GtkAdjustment */ void eel_gtk_adjustment_set_value (GtkAdjustment *adjustment, float value); @@ -131,11 +100,4 @@ void eel_gtk_adjustment_clamp_value (GtkAdjust void eel_gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view, gboolean should_activate); -/* GtkViewport */ -gboolean eel_gtk_viewport_get_visible_rect (GtkViewport *viewport, - GdkRectangle *rect); - -void eel_gtk_viewport_scroll_to_rect (GtkViewport *viewport, - GdkRectangle *rect); - #endif /* EEL_GTK_EXTENSIONS_H */ |