Remove some unused variables

This commit is contained in:
Federico Mena Quintero 2013-03-06 12:42:24 -06:00
parent 3c993547a4
commit 461c1a547e
2 changed files with 0 additions and 7 deletions

View File

@ -1298,12 +1298,10 @@ GtkFileSystemVolume *
_gtk_file_system_get_volume_for_file (GtkFileSystem *file_system,
GFile *file)
{
GtkFileSystemPrivate *priv;
GMount *mount;
DEBUG ("get_volume_for_file");
priv = GTK_FILE_SYSTEM_GET_PRIVATE (file_system);
mount = g_file_find_enclosing_mount (file, NULL, NULL);
if (!mount && g_file_is_native (file))

View File

@ -1426,11 +1426,9 @@ button_drag_data_get_cb (GtkWidget *widget,
gpointer data)
{
ButtonData *button_data;
GtkPathBar *path_bar;
char *uris[2];
button_data = data;
path_bar = GTK_PATH_BAR (widget->parent); /* the button's parent *is* the path bar */
uris[0] = g_file_get_uri (button_data->file);
uris[1] = NULL;
@ -1701,13 +1699,10 @@ _gtk_path_bar_set_file (GtkPathBar *path_bar,
GError **error)
{
struct SetFileInfo *info;
gboolean result;
g_return_val_if_fail (GTK_IS_PATH_BAR (path_bar), FALSE);
g_return_val_if_fail (G_IS_FILE (file), FALSE);
result = TRUE;
/* Check whether the new path is already present in the pathbar as buttons.
* This could be a parent directory or a previous selected subdirectory.
*/