[gnome-photos] Replace deprecated gtk_button_set_focus_on_click()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] Replace deprecated gtk_button_set_focus_on_click()
- Date: Wed, 31 Aug 2016 16:46:32 +0000 (UTC)
commit 4adba36651e6a704beb8c81ca9467a1963fbe174
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Aug 31 18:40:19 2016 +0200
Replace deprecated gtk_button_set_focus_on_click()
src/photos-delete-notification.c | 2 +-
src/photos-done-notification.c | 2 +-
src/photos-export-notification.c | 2 +-
src/photos-share-notification.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-delete-notification.c b/src/photos-delete-notification.c
index e4eb066..bd0a338 100644
--- a/src/photos-delete-notification.c
+++ b/src/photos-delete-notification.c
@@ -165,7 +165,7 @@ photos_delete_notification_constructed (GObject *object)
close = gtk_button_new ();
gtk_widget_set_valign (close, GTK_ALIGN_CENTER);
- gtk_button_set_focus_on_click (GTK_BUTTON (close), FALSE);
+ gtk_widget_set_focus_on_click (close, FALSE);
gtk_button_set_relief (GTK_BUTTON (close), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (close), image);
gtk_container_add (GTK_CONTAINER (self), close);
diff --git a/src/photos-done-notification.c b/src/photos-done-notification.c
index 28120c3..b02dedb 100644
--- a/src/photos-done-notification.c
+++ b/src/photos-done-notification.c
@@ -145,7 +145,7 @@ photos_done_notification_constructed (GObject *object)
close = gtk_button_new ();
gtk_widget_set_valign (close, GTK_ALIGN_CENTER);
- gtk_button_set_focus_on_click (GTK_BUTTON (close), FALSE);
+ gtk_widget_set_focus_on_click (close, FALSE);
gtk_button_set_relief (GTK_BUTTON (close), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (close), image);
gtk_container_add (GTK_CONTAINER (self), close);
diff --git a/src/photos-export-notification.c b/src/photos-export-notification.c
index 14c1008..b7b2784 100644
--- a/src/photos-export-notification.c
+++ b/src/photos-export-notification.c
@@ -317,7 +317,7 @@ photos_export_notification_constructed (GObject *object)
close = gtk_button_new ();
gtk_widget_set_valign (close, GTK_ALIGN_CENTER);
- gtk_button_set_focus_on_click (GTK_BUTTON (close), FALSE);
+ gtk_widget_set_focus_on_click (close, FALSE);
gtk_button_set_relief (GTK_BUTTON (close), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (close), image);
gtk_container_add (GTK_CONTAINER (self), close);
diff --git a/src/photos-share-notification.c b/src/photos-share-notification.c
index 298127b..ce8b9bc 100644
--- a/src/photos-share-notification.c
+++ b/src/photos-share-notification.c
@@ -117,7 +117,7 @@ photos_share_notification_constructed (GObject *object)
close = gtk_button_new ();
gtk_widget_set_valign (close, GTK_ALIGN_CENTER);
- gtk_button_set_focus_on_click (GTK_BUTTON (close), FALSE);
+ gtk_widget_set_focus_on_click (close, FALSE);
gtk_button_set_relief (GTK_BUTTON (close), GTK_RELIEF_NONE);
gtk_button_set_image (GTK_BUTTON (close), image);
gtk_container_add (GTK_CONTAINER (self), close);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]