summaryrefslogtreecommitdiff
path: root/src/caja-file-management-properties.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-26 13:14:43 +0300
committermonsta <[email protected]>2016-01-26 13:14:43 +0300
commit6b552f7968a844990a1b920da01d8dafc5cc0c33 (patch)
tree5f1d3e452e46cfa4605b578b953dbe7b4179ae0b /src/caja-file-management-properties.c
parentebf820f112dd840b73183c693a832001f53b7bae (diff)
downloadcaja-6b552f7968a844990a1b920da01d8dafc5cc0c33.tar.bz2
caja-6b552f7968a844990a1b920da01d8dafc5cc0c33.tar.xz
fix a few build warnings
Diffstat (limited to 'src/caja-file-management-properties.c')
-rw-r--r--src/caja-file-management-properties.c8
1 files changed, 4 insertions, 4 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);
}
}