common: Do not leak MetaResizePopup to the public api

This commit is contained in:
Rico Tzschichholz 2014-06-04 15:53:29 +02:00
parent e362227514
commit 8766db2593
3 changed files with 5 additions and 4 deletions

View File

@ -43,8 +43,6 @@
#define META_VIRTUAL_CORE_POINTER_ID 2
#define META_VIRTUAL_CORE_KEYBOARD_ID 3
typedef struct _MetaResizePopup MetaResizePopup;
/**
* MetaFrameFlags:
* @META_FRAME_ALLOWS_DELETE: frame allows delete

View File

@ -29,6 +29,8 @@
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
typedef struct _MetaResizePopup MetaResizePopup;
MetaResizePopup* meta_ui_resize_popup_new (Display *display,
int screen_number);
void meta_ui_resize_popup_free (MetaResizePopup *popup);

View File

@ -20,11 +20,12 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "window-private.h"
#ifndef META_WINDOW_X11_PRIVATE_H
#define META_WINDOW_X11_PRIVATE_H
#include "window-private.h"
#include "ui/resizepopup.h"
G_BEGIN_DECLS
typedef struct _MetaWindowX11Private MetaWindowX11Private;