diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-04 15:56:16 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-04 19:07:46 +0300 |
commit | 1f2ea053b3fc2ce8398166a259f259f03622c154 (patch) | |
tree | 78e8e7369dbc6b3c5a5cdbae2636a52b842395f7 | |
parent | e00996a983a4d217a79c52e85ce2c7918ce1baea (diff) | |
download | metacity-1f2ea053b3fc2ce8398166a259f259f03622c154.tar.gz |
resizepopup.c: don't use deprecated GtkMisc
-rw-r--r-- | src/ui/resizepopup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c index e28868bc..7c63592f 100644 --- a/src/ui/resizepopup.c +++ b/src/ui/resizepopup.c @@ -89,7 +89,11 @@ ensure_size_window (MetaResizePopup *popup) gtk_container_add (GTK_CONTAINER (popup->size_window), frame); popup->size_label = gtk_label_new (""); - gtk_misc_set_padding (GTK_MISC (popup->size_label), 3, 3); + + gtk_widget_set_margin_start (popup->size_label, 3); + gtk_widget_set_margin_end (popup->size_label, 3); + gtk_widget_set_margin_top (popup->size_label, 3); + gtk_widget_set_margin_bottom (popup->size_label, 3); gtk_container_add (GTK_CONTAINER (frame), popup->size_label); |