diff options
-rw-r--r-- | libcaja-private/caja-bookmark.c | 2 | ||||
-rw-r--r-- | src/caja-file-management-properties.c | 8 | ||||
-rw-r--r-- | src/caja-freedesktop-dbus.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libcaja-private/caja-bookmark.c b/libcaja-private/caja-bookmark.c index 04a63242..940af551 100644 --- a/libcaja-private/caja-bookmark.c +++ b/libcaja-private/caja-bookmark.c @@ -480,7 +480,7 @@ caja_bookmark_set_icon_to_default (CajaBookmark *bookmark) if (caja_bookmark_uri_known_not_to_exist (bookmark)) { - icon = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_BUTTON); + icon = g_themed_icon_new ("dialog-warning"); emblem = g_emblem_new (icon); emblemed_icon = g_emblemed_icon_new (folder, emblem); diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c index 24283611..258eaca3 100644 --- a/src/caja-file-management-properties.c +++ b/src/caja-file-management-properties.c @@ -622,7 +622,7 @@ extension_about_clicked (GtkButton *button, Extension *ext) { MateAboutDialog *extension_about_dialog; - extension_about_dialog = mate_about_dialog_new(); + extension_about_dialog = (MateAboutDialog *) mate_about_dialog_new(); mate_about_dialog_set_program_name (extension_about_dialog, ext->name != NULL ? ext->name : ext->filename); mate_about_dialog_set_comments (extension_about_dialog, ext->description); mate_about_dialog_set_logo_icon_name (extension_about_dialog, ext->icon != NULL ? ext->icon : "system-run"); @@ -632,7 +632,7 @@ extension_about_clicked (GtkButton *button, Extension *ext) mate_about_dialog_set_website (extension_about_dialog, ext->website); gtk_window_set_title (GTK_WINDOW(extension_about_dialog), _("About Extension")); gtk_dialog_run (GTK_DIALOG (extension_about_dialog)); - gtk_widget_destroy (extension_about_dialog); + gtk_widget_destroy (GTK_WIDGET (extension_about_dialog)); } static void @@ -642,7 +642,7 @@ extension_list_selection_changed (GtkTreeSelection *selection, GtkButton *about_ GtkTreeIter iter; Extension *ext; - gtk_widget_set_sensitive (about_button, FALSE); + gtk_widget_set_sensitive (GTK_WIDGET (about_button), FALSE); if (extension_about_id > 0) { @@ -655,7 +655,7 @@ extension_list_selection_changed (GtkTreeSelection *selection, GtkButton *about_ gtk_tree_model_get (model, &iter, EXT_STRUCT_COLUMN, &ext, -1); if (ext != NULL) { - gtk_widget_set_sensitive (about_button, TRUE); + gtk_widget_set_sensitive (GTK_WIDGET (about_button), TRUE); extension_about_id = g_signal_connect (about_button, "clicked", G_CALLBACK (extension_about_clicked), ext); } } diff --git a/src/caja-freedesktop-dbus.c b/src/caja-freedesktop-dbus.c index 1ce79c8f..79e6fd44 100644 --- a/src/caja-freedesktop-dbus.c +++ b/src/caja-freedesktop-dbus.c @@ -144,7 +144,7 @@ skeleton_handle_show_item_properties_cb (CajaFreedesktopFileManager1 *object, file, gdk_screen_get_default (), NULL); - fm_properties_window_present (files, window); + fm_properties_window_present (files, GTK_WIDGET (window)); g_object_unref (file); } |