diff options
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index e431af541f..24d56470d5 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -2151,21 +2151,12 @@ static char * column_view_get_tooltip_text (GtkListItem *list_item, GFileInfo *info) { - GtkFileChooserWidget *impl; GFile *file; if (!info) return NULL; - impl = GTK_FILE_CHOOSER_WIDGET (gtk_widget_get_ancestor (gtk_list_item_get_child (list_item), - GTK_TYPE_FILE_CHOOSER_WIDGET)); - g_assert (impl != NULL); - - if (impl->operation_mode == OPERATION_MODE_BROWSE) - return NULL; - file = _gtk_file_info_get_file (info); - return g_file_get_path (file); } |