diff options
author | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-09 07:23:05 +0530 |
---|---|---|
committer | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-09 15:28:28 +0530 |
commit | 47872e517224264a30e4ae33a7f3c103361bb82a (patch) | |
tree | 0398302235941638118360cec1c67dea40050195 /examples/application8 | |
parent | 65b423eb05ba2e31c57a7f9d029f5312719366d1 (diff) | |
download | gtk+-47872e517224264a30e4ae33a7f3c103361bb82a.tar.gz |
examples: Use icon-name property to set button icons
Gtk4 added an icon-name property for GtkButton.
Diffstat (limited to 'examples/application8')
-rw-r--r-- | examples/application8/window.ui | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/application8/window.ui b/examples/application8/window.ui index fbf9d4bbbd..e19ec2eb34 100644 --- a/examples/application8/window.ui +++ b/examples/application8/window.ui @@ -18,14 +18,7 @@ <child> <object class="GtkToggleButton" id="search"> <property name="sensitive">0</property> - <style> - <class name="image-button"/> - </style> - <child> - <object class="GtkImage" id="search-icon"> - <property name="icon-name">edit-find-symbolic</property> - </object> - </child> + <property name="icon-name">edit-find-symbolic</property> </object> <packing> <property name="pack-type">end</property> |