forked from AuroraMiddleware/gtk
Fix regression in GdkScreen.get_monitor_plug_name()
The documentation for get_monitor_plug_name() says that we're returning the name of the connector for the monitor, but we switched it to using the model name.
This commit is contained in:
parent
af778ec7d0
commit
cdd6fb32c5
@ -21,8 +21,10 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "gdkinternals.h"
|
||||
#include "gdkscreenprivate.h"
|
||||
|
||||
#include "gdkinternals.h"
|
||||
#include "gdkmonitorprivate.h"
|
||||
#include "gdkrectangle.h"
|
||||
#include "gdkwindow.h"
|
||||
#include "gdkintl.h"
|
||||
@ -821,7 +823,7 @@ gdk_screen_get_monitor_plug_name (GdkScreen *screen,
|
||||
|
||||
g_return_val_if_fail (monitor != NULL, NULL);
|
||||
|
||||
return g_strdup (gdk_monitor_get_model (monitor));
|
||||
return g_strdup (gdk_monitor_get_connector (monitor));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user