window: Complete the popover conversion

This commit is contained in:
Matthias Clasen 2019-12-28 00:08:29 -05:00
parent fd0f01bcad
commit 6f80eee962

View File

@ -34,7 +34,6 @@
#include "gtkbuilderprivate.h"
#include "gtkbutton.h"
#include "gtkcheckbutton.h"
#include "gtkcheckmenuitem.h"
#include "gtkcontainerprivate.h"
#include "gtkcsscornervalueprivate.h"
#include "gtkcssiconthemevalueprivate.h"
@ -55,9 +54,6 @@
#include "gtkmarshalers.h"
#include "gtkmessagedialog.h"
#include "gtkmnemonichash.h"
#include "gtkmenu.h"
#include "gtkmenubarprivate.h"
#include "gtkmenushellprivate.h"
#include "gtkpointerfocusprivate.h"
#include "gtkpopovermenuprivate.h"
#include "gtkmodelbuttonprivate.h"
@ -65,7 +61,6 @@
#include "gtkprivate.h"
#include "gtkroot.h"
#include "gtknative.h"
#include "gtkseparatormenuitem.h"
#include "gtksettings.h"
#include "gtksnapshot.h"
#include "gtkstylecontextprivate.h"
@ -6588,7 +6583,7 @@ gtk_window_get_state (GtkWindow *window)
}
static void
restore_window_clicked (GtkMenuItem *menuitem,
restore_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = GTK_WINDOW (user_data);
@ -6609,7 +6604,7 @@ restore_window_clicked (GtkMenuItem *menuitem,
}
static void
move_window_clicked (GtkMenuItem *menuitem,
move_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = GTK_WINDOW (user_data);
@ -6621,7 +6616,7 @@ move_window_clicked (GtkMenuItem *menuitem,
}
static void
resize_window_clicked (GtkMenuItem *menuitem,
resize_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = GTK_WINDOW (user_data);
@ -6634,7 +6629,7 @@ resize_window_clicked (GtkMenuItem *menuitem,
}
static void
minimize_window_clicked (GtkMenuItem *menuitem,
minimize_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = GTK_WINDOW (user_data);
@ -6648,7 +6643,7 @@ minimize_window_clicked (GtkMenuItem *menuitem,
}
static void
maximize_window_clicked (GtkMenuItem *menuitem,
maximize_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = GTK_WINDOW (user_data);
@ -6663,7 +6658,7 @@ maximize_window_clicked (GtkMenuItem *menuitem,
}
static void
ontop_window_clicked (GtkMenuItem *menuitem,
ontop_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = (GtkWindow *)user_data;
@ -6674,7 +6669,7 @@ ontop_window_clicked (GtkMenuItem *menuitem,
}
static void
close_window_clicked (GtkMenuItem *menuitem,
close_window_clicked (GtkModelButton *button,
gpointer user_data)
{
GtkWindow *window = (GtkWindow *)user_data;