summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-file-management-properties.c8
-rw-r--r--src/caja-freedesktop-dbus.c2
2 files changed, 5 insertions, 5 deletions
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);
}