[gnome-panel] libpanel-util: remove panel-gtk.c/h



commit d89b26672b8652dbda78d94d6f0d5cbef6b61f9f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Apr 15 22:24:01 2020 +0300

    libpanel-util: remove panel-gtk.c/h

 gnome-panel/libpanel-util/Makefile.am |  2 -
 gnome-panel/libpanel-util/panel-gtk.c | 81 -----------------------------------
 gnome-panel/libpanel-util/panel-gtk.h | 36 ----------------
 gnome-panel/panel-run-dialog.c        |  3 +-
 4 files changed, 2 insertions(+), 120 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/Makefile.am b/gnome-panel/libpanel-util/Makefile.am
index 425e110ba..720592863 100644
--- a/gnome-panel/libpanel-util/Makefile.am
+++ b/gnome-panel/libpanel-util/Makefile.am
@@ -36,8 +36,6 @@ libpanel_util_la_SOURCES =            \
        panel-glib.h                    \
        panel-gsettings.c               \
        panel-gsettings.h               \
-       panel-gtk.c                     \
-       panel-gtk.h                     \
        panel-keyfile.c                 \
        panel-keyfile.h                 \
        panel-launch.c                  \
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index e2f11b385..e34d3fc96 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -44,7 +44,6 @@
 
 #include <libpanel-util/panel-error.h>
 #include <libpanel-util/panel-glib.h>
-#include <libpanel-util/panel-gtk.h>
 #include <libpanel-util/panel-keyfile.h>
 #include <libpanel-util/panel-show.h>
 #include <libpanel-util/panel-xdg.h>
@@ -57,6 +56,8 @@
 #include "panel-icon-names.h"
 #include "panel-schemas.h"
 
+#define PANEL_GTK_BUILDER_GET(builder, name) GTK_WIDGET (gtk_builder_get_object (builder, name))
+
 typedef struct {
        GtkWidget        *run_dialog;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]